cubecl_hip_sys

Function hipPointerSetAttribute

Source
pub unsafe extern "C" fn hipPointerSetAttribute(
    value: *const c_void,
    attribute: hipPointer_attribute,
    ptr: hipDeviceptr_t,
) -> hipError_t
Expand description

@brief Sets information on the specified pointer.[BETA]

@param [in] value Sets pointer attribute value @param [in] attribute Attribute to set @param [in] ptr Pointer to set attributes for

@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

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