Function hip_sys::hiprt::hipDeviceGetDefaultMemPool
source · pub unsafe extern "C" fn hipDeviceGetDefaultMemPool(
mem_pool: *mut *mut ihipMemPoolHandle_t,
device: i32
) -> hipError_tExpand description
@brief Returns the default memory pool of the specified device
@param [out] mem_pool Default memory pool to return @param [in] device Device index for query the default memory pool
@returns #chipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue, #hipErrorNotSupported
@see hipDeviceGetDefaultMemPool, hipMallocAsync, hipMemPoolTrimTo, hipMemPoolGetAttribute, hipDeviceSetMemPool, hipMemPoolSetAttribute, hipMemPoolSetAccess, hipMemPoolGetAccess
@warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.