pub unsafe extern "C" fn cudaDeviceGetMemPool(
memPool: *mut cudaMemPool_t,
device: c_int,
) -> cudaError_tExpand description
Gets the current mempool for a device.
Returns the last pool provided to cudaDeviceSetMemPool for this device or the device’s default memory pool if cudaDeviceSetMemPool 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 or cudaDeviceSetMemPool.