Searched refs:NUM_THREADS (Results 1 - 13 of 13) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/ |
| H A D | pipe_barrier_test.c | 46 #define NUM_THREADS 10 macro 50 static thrd_t threads[NUM_THREADS]; 52 static int thread_ids[NUM_THREADS]; 84 CHECK(p_atomic_read(&waiting) == NUM_THREADS); 113 util_barrier_init(&barrier, NUM_THREADS); 115 for (i = 0; i < NUM_THREADS; i++) { 120 for (i = 0; i < NUM_THREADS; i++ ) { 124 CHECK(p_atomic_read(&proceeded) == NUM_THREADS);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/ |
| H A D | pipe_barrier_test.c | 46 #define NUM_THREADS 10 macro 50 static thrd_t threads[NUM_THREADS]; 52 static int thread_ids[NUM_THREADS]; 84 CHECK(p_atomic_read(&waiting) == NUM_THREADS); 113 util_barrier_init(&barrier, NUM_THREADS); 115 for (i = 0; i < NUM_THREADS; i++) { 120 for (i = 0; i < NUM_THREADS; i++ ) { 124 CHECK(p_atomic_read(&proceeded) == NUM_THREADS);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/ |
| H A D | state_pool_free_list_only.c | 30 #define NUM_THREADS 8 macro 54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; 55 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++) { 60 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++)
|
| H A D | state_pool_no_free.c | 30 #define NUM_THREADS 16 macro 39 } jobs[NUM_THREADS]; 68 pthread_barrier_init(&barrier, NULL, NUM_THREADS); 70 for (unsigned i = 0; i < NUM_THREADS; i++) { 76 for (unsigned i = 0; i < NUM_THREADS; i++) 80 unsigned next[NUM_THREADS]; 88 for (unsigned i = 0; i < NUM_THREADS; i++) {
|
| H A D | state_pool_test_helper.h | 30 } jobs[NUM_THREADS]; 61 pthread_barrier_init(&barrier, NULL, NUM_THREADS); 63 for (unsigned i = 0; i < NUM_THREADS; i++) { 69 for (unsigned i = 0; i < NUM_THREADS; i++)
|
| H A D | block_pool_no_free.c | 30 #define NUM_THREADS 16 macro 40 } jobs[NUM_THREADS]; 80 unsigned next[NUM_THREADS]; 88 for (unsigned i = 0; i < NUM_THREADS; i++) { 123 for (unsigned i = 0; i < NUM_THREADS; i++) { 129 for (unsigned i = 0; i < NUM_THREADS; i++) 133 int32_t *block_ptrs[NUM_THREADS]; 134 for (unsigned i = 0; i < NUM_THREADS; i++) 139 for (unsigned i = 0; i < NUM_THREADS; i++)
|
| H A D | state_pool.c | 30 #define NUM_THREADS 8 macro
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/ |
| H A D | state_pool_free_list_only.c | 29 #define NUM_THREADS 8 macro 54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; 55 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++) { 60 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++)
|
| H A D | state_pool_no_free.c | 29 #define NUM_THREADS 16 macro 38 } jobs[NUM_THREADS]; 68 pthread_barrier_init(&barrier, NULL, NUM_THREADS); 70 for (unsigned i = 0; i < NUM_THREADS; i++) { 76 for (unsigned i = 0; i < NUM_THREADS; i++) 80 unsigned next[NUM_THREADS]; 88 for (unsigned i = 0; i < NUM_THREADS; i++) {
|
| H A D | state_pool_test_helper.h | 30 } jobs[NUM_THREADS]; 61 pthread_barrier_init(&barrier, NULL, NUM_THREADS); 63 for (unsigned i = 0; i < NUM_THREADS; i++) { 69 for (unsigned i = 0; i < NUM_THREADS; i++)
|
| H A D | block_pool_no_free.c | 29 #define NUM_THREADS 16 macro 39 } jobs[NUM_THREADS]; 79 unsigned next[NUM_THREADS]; 87 for (unsigned i = 0; i < NUM_THREADS; i++) { 123 for (unsigned i = 0; i < NUM_THREADS; i++) { 129 for (unsigned i = 0; i < NUM_THREADS; i++) 133 int32_t *block_ptrs[NUM_THREADS]; 134 for (unsigned i = 0; i < NUM_THREADS; i++) 139 for (unsigned i = 0; i < NUM_THREADS; i++)
|
| H A D | state_pool.c | 29 #define NUM_THREADS 8 macro
|
| /xsrc/external/mit/MesaLib/dist/src/util/tests/sparse_array/ |
| H A D | multi_threaded.c | 32 #define NUM_THREADS 16 macro 58 thrd_t threads[NUM_THREADS]; 59 for (unsigned i = 0; i < NUM_THREADS; i++) { 64 for (unsigned i = 0; i < NUM_THREADS; i++) {
|
Completed in 10 milliseconds