Searched refs:hw_threads (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_screen.c881 unsigned hw_threads = caps->nr_cpus; local in function:iris_screen_create
883 if (hw_threads >= 12) {
884 compiler_threads = hw_threads * 3 / 4;
885 } else if (hw_threads >= 6) {
886 compiler_threads = hw_threads - 2;
887 } else if (hw_threads >= 2) {
888 compiler_threads = hw_threads - 1;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_pipe.c897 unsigned hw_threads, num_comp_hi_threads, num_comp_lo_threads, i; local in function:radeonsi_screen_create
969 hw_threads = sysconf(_SC_NPROCESSORS_ONLN);
971 if (hw_threads >= 12) {
972 num_comp_hi_threads = hw_threads * 3 / 4;
973 num_comp_lo_threads = hw_threads / 3;
974 } else if (hw_threads >= 6) {
975 num_comp_hi_threads = hw_threads - 2;
976 num_comp_lo_threads = hw_threads / 2;
977 } else if (hw_threads >= 2) {
978 num_comp_hi_threads = hw_threads
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_pipe.c1067 unsigned hw_threads, num_comp_hi_threads, num_comp_lo_threads; local in function:radeonsi_screen_create_impl
1166 hw_threads = caps->nr_cpus;
1168 if (hw_threads >= 12) {
1169 num_comp_hi_threads = hw_threads * 3 / 4;
1170 num_comp_lo_threads = hw_threads / 3;
1171 } else if (hw_threads >= 6) {
1172 num_comp_hi_threads = hw_threads - 2;
1173 num_comp_lo_threads = hw_threads / 2;
1174 } else if (hw_threads >= 2) {
1175 num_comp_hi_threads = hw_threads
[all...]

Completed in 6 milliseconds