| 241 | } |
| 242 | |
| 243 | bool freeSharedDevicePtr(void* ptr) |
| 244 | { |
| 245 | if (!ptr) |
| 246 | return false; |
| 247 | return cudaSuccess == cudaFree(ptr); |
| 248 | } |
| 249 | |
| 250 | cudaMipmappedArray_t importTextureToMipmappedArray(ref<Texture> pTex, uint32_t cudaUsageFlags) |
| 251 | { |
no outgoing calls
no test coverage detected