| 1186 | } |
| 1187 | #endif |
| 1188 | ~tensor(void) |
| 1189 | { |
| 1190 | free(this->mvpHostData); |
| 1191 | #ifdef FLIP_ENABLE_CUDA |
| 1192 | cudaFree(this->mvpDeviceData); |
| 1193 | #endif |
| 1194 | } |
| 1195 | |
| 1196 | #ifdef FLIP_ENABLE_CUDA |
| 1197 | T* getDeviceData(const int z = 0) |
no outgoing calls
no test coverage detected