pub unsafe extern "C" fn cuDeviceGetMemPool(
pool: *mut CUmemoryPool,
dev: CUdevice,
) -> CUresult
Expand description
\brief Gets the current mempool for a device
Returns the last pool provided to ::cuDeviceSetMemPool for this device or the device’s default memory pool if ::cuDeviceSetMemPool has never been called. By default the current mempool is the default mempool for a device. Otherwise the returned pool must have been set with ::cuDeviceSetMemPool.
\returns ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE
\sa ::cuDeviceGetDefaultMemPool, ::cuMemPoolCreate, ::cuDeviceSetMemPool