hipPointerSetAttribute

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

@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@warning This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.