Searched refs:threads (Results 1 - 25 of 250) sorted by relevance

12345678910

/xsrc/external/mit/MesaLib/dist/src/broadcom/common/
H A Dv3d_util.h33 uint32_t threads,
H A Dv3d_util.c34 uint32_t threads,
54 /* QPU threads will stall at TSY barriers until the entire supergroup
55 * reaches the barrier. Limit the supergroup size to half the QPU threads
57 * and we don't stall all our QPU threads when a supergroup hits a barrier.
60 uint32_t max_qpu_threads = devinfo->qpu_count * threads;
31 v3d_csd_choose_workgroups_per_supergroup(struct v3d_device_info * devinfo,bool has_subgroups,bool has_tsy_barrier,uint32_t threads,uint32_t num_wgs,uint32_t wg_size) argument
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_threads.c54 } *threads; variable in typeref:struct:thread *
61 /* Disable all signals in the slave threads as X uses them for IO */
150 DBG(("%s: creating a thread pool of %d threads\n",
153 threads = malloc (sizeof(threads[0])*max_threads);
154 if (threads == NULL)
158 pthread_mutex_init(&threads[n].mutex, NULL);
159 pthread_cond_init(&threads[n].cond, NULL);
161 threads[n].func = NULL;
162 threads[
[all...]
H A Dsna_trapezoids_precise.c1912 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1933 struct span_thread threads[num_threads]; local in function:precise_trapezoid_span_converter
1936 DBG(("%s: using %d threads for span compositing %dx%d\n",
1941 threads[0].sna = sna;
1942 threads[0].op = &tmp;
1943 threads[0].traps = traps;
1944 threads[0].ntrap = ntrap;
1945 threads[0].extents = clip.extents;
1946 threads[0].clip = &clip;
1947 threads[
2152 struct mask_thread threads[num_threads]; local in function:precise_trapezoid_mask_converter
2772 struct inplace_x8r8g8b8_thread threads[num_threads]; local in function:trapezoid_span_inplace__x8r8g8b8
3039 struct inplace_thread threads[num_threads]; local in function:precise_trapezoid_span_inplace
3186 struct mask_thread threads[num_threads]; local in function:precise_trapezoid_span_fallback
3450 struct tristrip_thread threads[num_threads]; local in function:precise_tristrip_span_converter
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_threads.c54 } *threads; variable in typeref:struct:thread *
61 /* Disable all signals in the slave threads as X uses them for IO */
150 DBG(("%s: creating a thread pool of %d threads\n",
153 threads = malloc (sizeof(threads[0])*max_threads);
154 if (threads == NULL)
158 pthread_mutex_init(&threads[n].mutex, NULL);
159 pthread_cond_init(&threads[n].cond, NULL);
161 threads[n].func = NULL;
162 threads[
[all...]
H A Dsna_trapezoids_precise.c1874 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1895 struct span_thread threads[num_threads]; local in function:precise_trapezoid_span_converter
1898 DBG(("%s: using %d threads for span compositing %dx%d\n",
1903 threads[0].sna = sna;
1904 threads[0].op = &tmp;
1905 threads[0].traps = traps;
1906 threads[0].ntrap = ntrap;
1907 threads[0].extents = clip.extents;
1908 threads[0].clip = &clip;
1909 threads[
2114 struct mask_thread threads[num_threads]; local in function:precise_trapezoid_mask_converter
2813 struct inplace_x8r8g8b8_thread threads[num_threads]; local in function:trapezoid_span_inplace__x8r8g8b8
3084 struct inplace_thread threads[num_threads]; local in function:precise_trapezoid_span_inplace
3231 struct mask_thread threads[num_threads]; local in function:precise_trapezoid_span_fallback
3496 struct tristrip_thread threads[num_threads]; local in function:precise_tristrip_span_converter
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A DREADME.md22 R0 - R15: general purpose (full threads)
23 R48 - R63: general purpose (full threads)
25 R32 - R47: general purpose (half threads, or v6)
/xsrc/external/mit/fontconfig/dist/test/
H A Dtest-crbug1004254.c90 pthread_t threads[NTEST]; local in function:main
100 result = pthread_create (&threads[i], NULL, run_test_in_thread,
110 pthread_join(threads[j], NULL);
H A Dtest-pthread.c73 pthread_t threads[NTHR]; local in function:main
77 printf("Creating %d threads\n",NTHR);
83 result = pthread_create(&threads[i],NULL,run_test_in_thread,
94 pthread_join(threads[j],NULL);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/
H A Dpipe_barrier_test.c32 * The test succeeds if no thread exits before all the other threads reach
50 static thrd_t threads[NUM_THREADS]; variable in typeref:typename:thrd_t[]
117 threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]);
121 thrd_join(threads[i], NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
H A Dpipe_barrier_test.c32 * The test succeeds if no thread exits before all the other threads reach
50 static thrd_t threads[NUM_THREADS]; variable in typeref:typename:thrd_t[]
117 threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]);
121 thrd_join(threads[i], NULL);
/xsrc/external/mit/MesaLib/dist/src/util/tests/sparse_array/
H A Dmulti_threaded.c30 #include "c11/threads.h"
58 thrd_t threads[NUM_THREADS]; local in function:run_test
60 int ret = thrd_create(&threads[i], test_thread, &arr);
65 int ret = thrd_join(threads[i], NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_cs_tpool.h48 thrd_t threads[LP_MAX_THREADS]; member in struct:lp_cs_tpool
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/drivers/openswr/
H A Dknobs.rst29 Maximum # of NUMA-nodes per system used for worker threads 0 == ALL NUMA-nodes in the system N == Use at most N NUMA-nodes for rendering
33 Maximum # of cores per NUMA-node used for worker threads. 0 == ALL non-API thread cores per NUMA-node N == Use at most N cores per NUMA-node
37 Maximum # of (hyper)threads per physical core used for worker threads. 0 == ALL hyper-threads per core N == Use at most N hyper-threads per physical core
41 Maximum worker threads to spawn. IMPORTANT: If this is non-zero, no worker threads will be bound to specific HW threads. They will all be "floating" SW threads
[all...]
/xsrc/external/mit/MesaLib/dist/docs/drivers/openswr/
H A Dknobs.rst29 Maximum # of NUMA-nodes per system used for worker threads 0 == ALL NUMA-nodes in the system N == Use at most N NUMA-nodes for rendering
33 Maximum # of cores per NUMA-node used for worker threads. 0 == ALL non-API thread cores per NUMA-node N == Use at most N cores per NUMA-node
37 Maximum # of (hyper)threads per physical core used for worker threads. 0 == ALL hyper-threads per core N == Use at most N hyper-threads per physical core
41 Maximum worker threads to spawn. IMPORTANT: If this is non-zero, no worker threads will be bound to specific HW threads. They will all be "floating" SW threads
[all...]
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dvir_register_allocate.c102 c->threads > 1 && started_last_seg;
502 for (int threads = 0; threads < max_thread_index; threads++) { local in function:vir_init_reg_sets
503 compiler->reg_class_any[threads] =
505 compiler->reg_class_r5[threads] =
507 compiler->reg_class_phys_or_acc[threads] =
509 compiler->reg_class_phys[threads] =
513 i < PHYS_INDEX + (PHYS_COUNT >> threads); i++) {
514 ra_class_add_reg(compiler->reg_class_phys_or_acc[threads],
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/
H A Dvir_register_allocate.c87 (c->threads > 1 && started_last_seg));
363 for (int threads = 0; threads < max_thread_index; threads++) { local in function:vir_init_reg_sets
364 compiler->reg_class_any[threads] =
366 compiler->reg_class_r5[threads] =
368 compiler->reg_class_phys_or_acc[threads] =
370 compiler->reg_class_phys[threads] =
374 i < PHYS_INDEX + (PHYS_COUNT >> threads); i++) {
376 compiler->reg_class_phys_or_acc[threads],
[all...]
/xsrc/external/mit/MesaLib.old/dist/docs/specs/
H A DMESA_multithread_makecurrent.spec40 using the same context across multiple threads and protecting its
72 current to multiple threads, with synchronization of access to
107 threads, then binds a different context/thread in one of them?
114 threads, then binds None/None in one of them?
117 threads retain their GLX context binding.
119 (3) What happens if the app binds a context/drawable in 7 threads,
123 but the context remains usable by threads that have the context
134 from multiple threads?
140 context between multiple threads is left to the application to do
/xsrc/external/mit/MesaLib/dist/docs/_extra/specs/
H A DMESA_multithread_makecurrent.spec40 using the same context across multiple threads and protecting its
72 current to multiple threads, with synchronization of access to
107 threads, then binds a different context/thread in one of them?
114 threads, then binds None/None in one of them?
117 threads retain their GLX context binding.
119 (3) What happens if the app binds a context/drawable in 7 threads,
123 but the context remains usable by threads that have the context
134 from multiple threads?
140 context between multiple threads is left to the application to do
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target.h178 threads = info->prop.cp.numThreads[0] *
181 if (threads == 0)
182 threads = info->target >= NVISA_GK104_CHIPSET ? 1024 : 512;
184 threads = 32; // doesn't matter, just not too big.
262 uint32_t threads; member in class:nv50_ir::Target
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target.h180 threads = info->prop.cp.numThreads[0] *
183 if (threads == 0)
184 threads = info->target >= NVISA_GK104_CHIPSET ? 1024 : 512;
186 threads = 32; // doesn't matter, just not too big.
264 uint32_t threads; member in class:nv50_ir::Target
/xsrc/external/mit/pixman/dist/test/
H A Dthread-test.c155 pthread_t threads[THREADS]; local in function:main
173 pthread_create (&threads[i], NULL, thread, &info[i]);
176 pthread_join (threads[i], &retvals[i]);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_queue.h204 mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */
208 thrd_t *threads; member in struct:util_queue
212 unsigned num_threads; /* decreasing this number will terminate threads */
239 /* Adjust the number of active threads. The new number of threads can't be
240 * greater than the initial number of threads at the creation of the queue,
253 return queue->threads != NULL;
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_queue.h208 simple_mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */
212 thrd_t *threads; member in struct:util_queue
216 unsigned num_threads; /* decreasing this number will terminate threads */
247 /* Adjust the number of active threads. The new number of threads can't be
248 * greater than the initial number of threads at the creation of the queue,
261 return queue->threads != NULL;
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/fossils/
H A Dfossils.sh68 fossilize-replay --num-threads 4 $fossil 1>&2 2> $FOSSILS_RESULTS/fossil_replay.txt

Completed in 24 milliseconds

12345678910