cubecl_hip_sys

Function hipDeviceSetSharedMemConfig

Source
pub unsafe extern "C" fn hipDeviceSetSharedMemConfig(
    config: hipSharedMemConfig,
) -> hipError_t
Expand description

@brief The bank width of shared memory on current device is set

@param [in] config Configuration for the bank width of shared memory

@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.