Home
last modified time | relevance | path

Searched refs:omp_get_num_threads (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/openmp/runtime/test/api/
H A Domp_pause_resource.c18 nthreads = omp_get_num_threads(); in test_omp_pause_resource()
25 nthreads = omp_get_num_threads(); in test_omp_pause_resource()
35 nthreads = omp_get_num_threads(); in test_omp_pause_resource()
45 nthreads = omp_get_num_threads(); in test_omp_pause_resource()
H A Domp_get_num_threads.c22 nthreads_lib = omp_get_num_threads (); in test_omp_get_num_threads()
H A Dkmp_set_defaults_lock_bug.c26 nthreads_lib = omp_get_num_threads (); in test_kmp_set_defaults_lock_bug()
/llvm-project-15.0.7/openmp/runtime/test/atomic/
H A Domp-atomic-compare-signedness.c22 for (int i = 0; i < omp_get_num_threads(); ++i) { in main()
26 numThreads = omp_get_num_threads(); in main()
34 for (int i = 0; i < omp_get_num_threads(); ++i) { in main()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Datomic-compare-signedness.c23 for (int i = 0; i < omp_get_num_threads(); ++i) { in main()
27 numThreads = omp_get_num_threads(); in main()
36 for (int i = 0; i < omp_get_num_threads(); ++i) { in main()
H A Dlooptripcnt.c19 num_threads[j] = omp_get_num_threads(); in main()
27 num_threads[j] = omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dtest-touch.c15 extern int omp_get_num_threads();
23 omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/test/parallel/
H A Domp_parallel_num_threads.c18 max_threads = omp_get_num_threads (); in test_omp_parallel_num_threads()
26 num_failed = num_failed + !(threads == omp_get_num_threads()); in test_omp_parallel_num_threads()
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddebug_threadprivate_copyin.c19 extern int omp_get_num_threads(void);
38 nt = omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/test/teams/
H A Dkmp_num_teams.c51 nthreads = omp_get_num_threads(); in check_num_teams()
52 priv_nthreads = omp_get_num_threads(); in check_num_teams()
H A Dteams.c29 int nthreads = omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/test/ompt/misc/
H A Dinteroperability.cpp21 omp_get_num_threads(); in f()
/llvm-project-15.0.7/openmp/runtime/test/worksharing/for/
H A Domp_parallel_for_if.c21 num_threads = omp_get_num_threads(); in test_omp_parallel_for_if()
H A Domp_for_firstprivate.c24 threadsnum=omp_get_num_threads(); in test_omp_for_firstprivate()
H A Domp_for_dynamic_large_chunk.c46 actual_nthreads = omp_get_num_threads(); in main()
H A Domp_for_schedule_static.c37 threads = omp_get_num_threads (); in test_omp_for_schedule_static()
/llvm-project-15.0.7/openmp/runtime/test/ompt/worksharing/for/
H A Dloop_dispatch.c17 int team_size = omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/test/ompt/tasks/
H A Dtask_types.c9 omp_get_num_threads(); in main()
/llvm-project-15.0.7/openmp/runtime/test/env/
H A Domp_thread_limit.c18 int num_threads = omp_get_num_threads(); in verify()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DReduction.cpp77 uint32_t NumThreads = omp_get_num_threads(); in nvptx_parallel_reduce_nowait()
203 uint32_t NumThreads = omp_get_num_threads(); in __kmpc_nvptx_teams_reduce_nowait_v2()
/llvm-project-15.0.7/openmp/runtime/test/tasking/
H A Domp50_taskwait_depend.c52 if (omp_get_num_threads() > 1) { in main()
H A Dtaskdep_if0_2.c44 if (omp_get_num_threads() > 1) { in main()
/llvm-project-15.0.7/openmp/runtime/test/threadprivate/
H A Domp_threadprivate.c55 size=omp_get_num_threads(); in test_omp_threadprivate()
/llvm-project-15.0.7/openmp/runtime/test/affinity/format/
H A Dapi2.c52 nt = omp_get_num_threads(); in main()
/llvm-project-15.0.7/pstl/include/pstl/internal/omp/
H A Dparallel_transform_reduce.h35 const std::size_t __num_threads = omp_get_num_threads(); in __transform_reduce_body()

12