Function rcudnn_sys::cudaDeviceGetDefaultMemPool[][src]

pub unsafe extern "C" fn cudaDeviceGetDefaultMemPool(
    memPool: *mut cudaMemPool_t,
    device: c_int
) -> cudaError_t
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