hipMemPoolGetAccess

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. While this feature is complete, it can change and might have outstanding issues.

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