Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_screen.c904 unsigned hw_threads = caps->nr_cpus; in iris_screen_create() local
906 if (hw_threads >= 12) { in iris_screen_create()
907 compiler_threads = hw_threads * 3 / 4; in iris_screen_create()
908 } else if (hw_threads >= 6) { in iris_screen_create()
909 compiler_threads = hw_threads - 2; in iris_screen_create()
910 } else if (hw_threads >= 2) { in iris_screen_create()
911 compiler_threads = hw_threads - 1; in iris_screen_create()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_pipe.c1099 unsigned hw_threads, num_comp_hi_threads, num_comp_lo_threads; in radeonsi_screen_create_impl() local
1213 hw_threads = caps->nr_cpus; in radeonsi_screen_create_impl()
1215 if (hw_threads >= 12) { in radeonsi_screen_create_impl()
1216 num_comp_hi_threads = hw_threads * 3 / 4; in radeonsi_screen_create_impl()
1217 num_comp_lo_threads = hw_threads / 3; in radeonsi_screen_create_impl()
1218 } else if (hw_threads >= 6) { in radeonsi_screen_create_impl()
1219 num_comp_hi_threads = hw_threads - 2; in radeonsi_screen_create_impl()
1220 num_comp_lo_threads = hw_threads / 2; in radeonsi_screen_create_impl()
1221 } else if (hw_threads >= 2) { in radeonsi_screen_create_impl()
1222 num_comp_hi_threads = hw_threads in radeonsi_screen_create_impl()
[all...]

Completed in 4 milliseconds