pub unsafe extern "C" fn hipOccupancyMaxPotentialClusterSize(
clusterSize: *mut c_int,
f: *const c_void,
config: *const hipLaunchConfig_t,
) -> hipError_tExpand description
@brief returns the maximum cluster size (in number of blocks) that can run on the device
@param [out] clusterSize the maximum cluster size @param [in] f kernel function for which occupancy is calculated @param [in] config pointer to the kernel launch configuration structure
@returns #hipSuccess, #hipErrorInvalidDeviceFunction, hipErrorInvalidClusterSize, #hipErrorInvalidValue