259 typedef decltype(this->a_dfad_)
FadType;
264 auto a_dfad = this->a_dfad_;
265 auto b_dfad = this->b_dfad_;
266 auto c_dfad = this->c_dfad_;
267 auto a_fad = this->a_fad_;
268 auto b_fad = this->b_fad_;
269 auto c_fad = this->c_fad_;
271 FadType aa_dfad = a_dfad + 1.0;
272 c_dfad =
max(aa_dfad, a_dfad);
274 for (
int i=0; i<this->n; i++) {
279 c_dfad =
max(a_dfad, aa_dfad);
281 for (
int i=0; i<this->n; i++) {
286 c_dfad =
max(a_dfad+1.0, a_dfad);
288 for (
int i=0; i<this->n; i++) {
293 c_dfad =
max(a_dfad, a_dfad+1.0);
295 for (
int i=0; i<this->n; i++) {
300 val = a_dfad.val() + 1;
301 c_dfad =
max(a_dfad,
val);
303 for (
int i=0; i<this->n; i++)
306 val = a_dfad.val() - 1;
307 c_dfad =
max(a_dfad,
val);
309 for (
int i=0; i<this->n; i++) {
314 val = b_dfad.val() + 1;
315 c_dfad =
max(
val, b_dfad);
317 for (
int i=0; i<this->n; i++)
320 val = b_dfad.val() - 1;
321 c_dfad =
max(
val, b_dfad);
323 for (
int i=0; i<this->n; i++) {
330 typedef decltype(this->a_dfad_)
FadType;
335 auto a_dfad = this->a_dfad_;
336 auto b_dfad = this->b_dfad_;
337 auto c_dfad = this->c_dfad_;
338 auto a_fad = this->a_fad_;
339 auto b_fad = this->b_fad_;
340 auto c_fad = this->c_fad_;
342 FadType aa_dfad = a_dfad - 1.0;
343 c_dfad =
min(aa_dfad, a_dfad);
345 for (
int i=0; i<this->n; i++) {
350 c_dfad =
min(a_dfad, aa_dfad);
352 for (
int i=0; i<this->n; i++) {
357 val = a_dfad.val() - 1;
358 c_dfad =
min(a_dfad,
val);
360 for (
int i=0; i<this->n; i++)
363 val = a_dfad.val() + 1;
364 c_dfad =
min(a_dfad,
val);
366 for (
int i=0; i<this->n; i++) {
371 val = b_dfad.val() - 1;
372 c_dfad =
min(
val, b_dfad);
374 for (
int i=0; i<this->n; i++)
377 val = b_dfad.val() + 1;
378 c_dfad =
min(
val, b_dfad);
380 for (
int i=0; i<this->n; i++) {
REGISTER_TYPED_TEST_SUITE_P(FadBLASUnitTests, testSCAL1, testSCAL2, testSCAL3, testSCAL4, testCOPY1, testCOPY2, testCOPY3, testCOPY4, testAXPY1, testAXPY2, testAXPY3, testAXPY4, testDOT1, testDOT2, testDOT3, testDOT4, testNRM21, testNRM22, testGEMV1, testGEMV2, testGEMV3, testGEMV4, testGEMV5, testGEMV6, testGEMV7, testGEMV8, testGEMV9, testTRMV1, testTRMV2, testTRMV3, testTRMV4, testGER1, testGER2, testGER3, testGER4, testGER5, testGER6, testGER7, testGEMM1, testGEMM2, testGEMM3, testGEMM4, testGEMM5, testGEMM6, testGEMM7, testGEMM8, testGEMM9, testGEMM10, testSYMM1, testSYMM2, testSYMM3, testSYMM4, testSYMM5, testSYMM6, testSYMM7, testSYMM8, testSYMM9, testTRMM1, testTRMM2, testTRMM3, testTRMM4, testTRMM5, testTRMM6, testTRMM7, testTRSM1, testTRSM2, testTRSM3, testTRSM4, testTRSM5, testTRSM6, testTRSM7)