Home
last modified time | relevance | path

Searched refs:cu_per_sh (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager.c104 uint32_t cu_per_sh[KFD_MAX_NUM_SE][KFD_MAX_NUM_SH_PER_SE] = {0}; in mqd_symmetrically_map_cu_mask() local
149 cu_per_sh[se][sh] = hweight32( in mqd_symmetrically_map_cu_mask()
196 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask()
/linux/drivers/gpu/drm/radeon/
H A Dsi.c2954 static u32 si_get_cu_enabled(struct radeon_device *rdev, u32 cu_per_sh) in si_get_cu_enabled() argument
2967 mask = si_create_bitmask(cu_per_sh); in si_get_cu_enabled()
2974 u32 cu_per_sh) in si_setup_spi() argument
2983 active_cu = si_get_cu_enabled(rdev, cu_per_sh); in si_setup_spi()