cubecl_hip_sys

Function hipMemPoolGetAccess

Source
pub unsafe extern "C" fn hipMemPoolGetAccess(
    flags: *mut hipMemAccessFlags,
    mem_pool: hipMemPool_t,
    location: *mut hipMemLocation,
) -> hipError_t
Expand description

@brief Returns the accessibility of a pool from a device

Returns the accessibility of the pool’s memory from the specified location.

@param [out] flags Accessibility of the memory pool from the specified location/device @param [in] mem_pool Memory pool being queried @param [in] location Location/device for memory pool access

@returns #hipSuccess, #hipErrorInvalidValue

@see hipMallocFromPoolAsync, hipMallocAsync, hipFreeAsync, hipMemPoolGetAttribute, hipMemPoolTrimTo, hipDeviceSetMemPool, hipMemPoolSetAttribute, hipMemPoolSetAccess

@warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.

@note This API is implemented on Linux, under development on Windows.