cubecl_hip_sys

Function hipMemGetAddressRange

Source
pub unsafe extern "C" fn hipMemGetAddressRange(
    pbase: *mut hipDeviceptr_t,
    psize: *mut usize,
    dptr: hipDeviceptr_t,
) -> hipError_t
Expand description

@brief Get information on memory allocations.

@param [out] pbase - BAse pointer address @param [out] psize - Size of allocation @param [in] dptr- Device Pointer

@returns #hipSuccess, #hipErrorNotFound

@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice