Function hip_sys::hiprt::hipDeviceGetSharedMemConfig
source · pub unsafe extern "C" fn hipDeviceGetSharedMemConfig(
pConfig: *mut hipSharedMemConfig
) -> hipError_tExpand description
@brief Returns bank width of shared memory for current device
@param [out] pConfig
@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.