pub unsafe extern "C" fn hipFuncSetAttribute(
func: *const c_void,
attr: hipFuncAttribute,
value: c_int,
) -> hipError_t
Expand description
@} / /**
@defgroup Execution Execution Control @{ This section describes the execution control functions of HIP runtime API.
/ /** @brief Set attribute for a specific function
@param [in] func Pointer of the function @param [in] attr Attribute to set @param [in] value Value to set
@returns #hipSuccess, #hipErrorInvalidDeviceFunction, #hipErrorInvalidValue
Note: AMD devices and some Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.