| 90 | |
| 91 | template<typename T> |
| 92 | void checkAndMigrate(const Array<T> &arr) { |
| 93 | if (arr.getDevId() != detail::getActiveDeviceId()) { |
| 94 | AF_ERROR("Input Array not created on current device", AF_ERR_DEVICE); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | template<typename T> |
| 99 | Array<T>::Array(const dim4 &dims) |
nothing calls this directly
no test coverage detected