| 476 | #undef INSTANTIATE |
| 477 | |
| 478 | bool noDoubleTests(af::dtype ty) { |
| 479 | bool isTypeDouble = (ty == f64) || (ty == c64); |
| 480 | int dev = af::getDevice(); |
| 481 | bool isDoubleSupported = af::isDoubleAvailable(dev); |
| 482 | |
| 483 | return ((isTypeDouble && !isDoubleSupported) ? true : false); |
| 484 | } |
| 485 | |
| 486 | bool noHalfTests(af::dtype ty) { |
| 487 | bool isTypeHalf = (ty == f16); |
no test coverage detected