Function hip_sys::hiprt::hipDeviceSetSharedMemConfig
source · pub unsafe extern "C" fn hipDeviceSetSharedMemConfig(
config: hipSharedMemConfig
) -> hipError_tExpand description
@brief The bank width of shared memory on current device is set
@param [in] config
@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized
Note: AMD devices and some Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.