Function rcudnn::cudaDeviceGetDefaultMemPool [−][src]
pub unsafe extern "C" fn cudaDeviceGetDefaultMemPool(
memPool: *mut *mut CUmemPoolHandle_st,
device: i32
) -> cudaError
Expand description
\brief Returns the default mempool of a device
The default mempool of a device contains device memory from that device.
\return ::cudaSuccess, ::cudaErrorInvalidDevice, ::cudaErrorInvalidValue ::cudaErrorNotSupported \notefnerr \note_init_rt \note_callback
\sa ::cuDeviceGetDefaultMemPool, ::cudaMallocAsync, ::cudaMemPoolTrimTo, ::cudaMemPoolGetAttribute, ::cudaDeviceSetMemPool, ::cudaMemPoolSetAttribute, ::cudaMemPoolSetAccess