Alloc device memory
| 112 | |
| 113 | // Alloc device memory |
| 114 | void *allocV2(const size_t bytes) { |
| 115 | void *ptr; |
| 116 | AF_THROW(af_alloc_device_v2(&ptr, bytes)); |
| 117 | return ptr; |
| 118 | } |
| 119 | |
| 120 | // Alloc pinned memory |
| 121 | void *pinned(const size_t elements, const af::dtype type) { |
no test coverage detected