| 28 | |
| 29 | template<typename T> |
| 30 | void testFunction() { |
| 31 | info(); |
| 32 | |
| 33 | af_array outArray = 0; |
| 34 | dim4 dims(32, 32, 1, 1); |
| 35 | ASSERT_SUCCESS(af_randu(&outArray, dims.ndims(), dims.get(), |
| 36 | (af_dtype)dtype_traits<T>::af_type)); |
| 37 | // cleanup |
| 38 | if (outArray != 0) { ASSERT_SUCCESS(af_release_array(outArray)); } |
| 39 | } |
| 40 | |
| 41 | void infoTest() { |
| 42 | int nDevices = 0; |
nothing calls this directly
no test coverage detected