Searched refs:max_simd_waves (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 961 unsigned max_simd_waves; in si_calculate_max_simd_waves() local 963 max_simd_waves = sscreen->info.max_wave64_per_simd; in si_calculate_max_simd_waves() 991 max_simd_waves = in si_calculate_max_simd_waves() 992 MIN2(max_simd_waves, sscreen->info.num_physical_sgprs_per_simd / conf->num_sgprs); in si_calculate_max_simd_waves() 999 max_simd_waves = MIN2(max_simd_waves, max_vgprs / conf->num_vgprs); in si_calculate_max_simd_waves() 1004 max_simd_waves = MIN2(max_simd_waves, max_lds_per_simd / lds_per_wave); in si_calculate_max_simd_waves() 1006 shader->info.max_simd_waves = max_simd_waves; in si_calculate_max_simd_waves() 1023 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves, in si_shader_dump_stats_for_shader_db() 1055 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves); in si_shader_dump_stats()
|
D | si_shader.h | 717 unsigned max_simd_waves; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 2086 unsigned max_simd_waves; local 2089 max_simd_waves = info->max_wave64_per_simd * (64 / wave_size); 2104 max_simd_waves = MIN2(max_simd_waves, info->num_physical_sgprs_per_simd / sgprs); 2112 max_simd_waves = MIN2(max_simd_waves, physical_vgprs / vgprs); 2121 max_simd_waves = MIN2(max_simd_waves, DIV_ROUND_UP(max_lds_per_simd, lds_per_wave)); 2123 return chip_class >= GFX10 ? max_simd_waves * (wave_size / 32) : max_simd_waves;
|