Function cuMemPoolSetAccess

Source
pub unsafe extern "C" fn cuMemPoolSetAccess(
    pool: CUmemoryPool,
    map: *const CUmemAccessDesc,
    count: usize,
) -> CUresult
Expand description

\brief Controls visibility of pools between devices

\param[in] pool - The pool being modified \param[in] map - Array of access descriptors. Each descriptor instructs the access to enable for a single gpu. \param[in] count - Number of descriptors in the map array.

\returns ::CUDA_SUCCESS, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE

\sa ::cuMemAllocAsync, ::cuMemFreeAsync, ::cuDeviceGetDefaultMemPool, ::cuDeviceGetMemPool, ::cuMemPoolCreate