HomeSort by relevance Sort by last modified time
    Searched refs:num_threads (Results 1 - 25 of 323) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/OpenMP/
parallel_num_threads_messages.cpp 12 #define redef_num_threads(a, b) num_threads(a)
16 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp parallel num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp parallel num_threads () // expected-error {{expected expression}}
19 #pragma omp parallel num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
20 #pragma omp parallel num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel' are ignored}}
21 #pragma omp parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
22 #pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp parallel' cannot contain mor (…)
    [all...]
parallel_sections_num_threads_messages.cpp 14 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}}
16 #pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp parallel sections num_threads () // expected-error {{expected expression}}
20 #pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
22 #pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}}
24 #pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
26 #pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp parallel sections' cannot contain more than one (…)
    [all...]
target_parallel_num_threads_messages.cpp 12 #define redef_num_threads(a, b) num_threads(a)
16 #pragma omp target parallel num_threads // expected-error {{expected '(' after 'num_threads'}}
18 #pragma omp target parallel num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
20 #pragma omp target parallel num_threads () // expected-error {{expected expression}}
22 #pragma omp target parallel num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
24 #pragma omp target parallel num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target parallel' are ignored}}
26 #pragma omp target parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
28 #pragma omp target parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp target parallel' cannot cont (…)
    [all...]
parallel_for_num_threads_messages.cpp 15 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp parallel for num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp parallel for num_threads () // expected-error {{expected expression}}
21 #pragma omp parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for' are ignored}}
25 #pragma omp parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
27 #pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp parallel for' cannot contain more than one 'num_ (…)
    [all...]
distribute_parallel_for_num_threads_messages.cpp 17 #pragma omp distribute parallel for num_threads // expected-error {{expected '(' after 'num_threads'}}
21 #pragma omp distribute parallel for num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
25 #pragma omp distribute parallel for num_threads () // expected-error {{expected expression}}
29 #pragma omp distribute parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
33 #pragma omp distribute parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp distribute parallel for' are ignored}}
37 #pragma omp distribute parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
41 #pragma omp distribute parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for' cannot contain more tha (…)
    [all...]
parallel_for_simd_num_threads_messages.cpp 15 #pragma omp parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp parallel for simd num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp parallel for simd num_threads () // expected-error {{expected expression}}
21 #pragma omp parallel for simd num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp parallel for simd num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for simd' are ignored}}
25 #pragma omp parallel for simd num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
27 #pragma omp parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp parallel for simd' cannot contain more than one (…)
    [all...]
target_parallel_for_num_threads_messages.cpp 15 #pragma omp target parallel for num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp target parallel for num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp target parallel for num_threads () // expected-error {{expected expression}}
21 #pragma omp target parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp target parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target parallel for' are ignored}}
25 #pragma omp target parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
27 #pragma omp target parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp target parallel for' cannot contain more than on (…)
    [all...]
target_parallel_for_simd_num_threads_messages.cpp 15 #pragma omp target parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}}
17 #pragma omp target parallel for simd num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19 #pragma omp target parallel for simd num_threads () // expected-error {{expected expression}}
21 #pragma omp target parallel for simd num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
23 #pragma omp target parallel for simd num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target parallel for simd' are ignored}}
25 #pragma omp target parallel for simd num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
27 #pragma omp target parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp target parallel for simd' cannot contain more th (…)
    [all...]
parallel_num_threads_codegen.cpp 26 #pragma omp parallel num_threads(C)
28 #pragma omp parallel num_threads(T(23))
36 #pragma omp parallel num_threads(2)
38 #pragma omp parallel num_threads(a)
distribute_parallel_for_simd_num_threads_messages.cpp 17 #pragma omp distribute parallel for simd num_threads // expected-error {{expected '(' after 'num_threads'}}
21 #pragma omp distribute parallel for simd num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
25 #pragma omp distribute parallel for simd num_threads () // expected-error {{expected expression}}
29 #pragma omp distribute parallel for simd num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
33 #pragma omp distribute parallel for simd num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp distribute parallel for simd' are ignored}}
37 #pragma omp distribute parallel for simd num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
41 #pragma omp distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain mor (…)
    [all...]
  /build/kati/
thread_pool.h 33 ThreadPool* NewThreadPool(int num_threads);
  /external/compiler-rt/test/lsan/TestCases/
high_allocator_contention.cc 11 int num_threads; variable
24 for (int i = 0; i < total_num_alloc / num_threads; i++) {
34 num_threads = atoi(argv[1]);
35 assert(num_threads > 0);
36 assert(num_threads <= kMaxNumThreads);
39 printf("%d threads, %d allocations in each\n", num_threads,
40 total_num_alloc / num_threads);
41 for (int i = 0; i < num_threads; i++)
47 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
  /external/tensorflow/tensorflow/core/lib/core/
threadpool_test.cc 31 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) {
32 fprintf(stderr, "Testing with %d threads\n", num_threads);
33 ThreadPool pool(Env::Default(), "test", num_threads); local
38 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) {
39 fprintf(stderr, "Testing with %d threads\n", num_threads);
46 ThreadPool pool(Env::Default(), "test", num_threads); local
67 ThreadPool pool(Env::Default(), "test", num_threads); local
90 ThreadPool pool(Env::Default(), "test", num_threads); local
    [all...]
  /external/gemmlowp/test/
test_blocking_counter.cc 66 void test_blocking_counter(BlockingCounter* blocking_counter, int num_threads,
71 for (int i = 0; i < num_threads; i++) {
77 for (int i = 0; i < num_threads; i++) {
92 for (int num_threads = 1; num_threads <= 16; num_threads++) {
96 test_blocking_counter(blocking_counter, num_threads,
98 num_threads * num_decrements_per_thread);
  /external/autotest/client/tests/monotonic_time/src/
threads.c 27 static int num_threads; variable
61 if (num_threads >= MAX_THREADS)
64 thread = &threads[num_threads++];
73 --num_threads;
78 return num_threads;
95 thread = &threads[num_threads++];
103 --num_threads;
108 return num_threads;
117 while (num_threads > 0)
118 pthread_join(threads[--num_threads].thread, NULL)
    [all...]
threads.h 11 int create_threads(int num_threads, thread_func_t func, void *arg);
  /external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
numpy_io.py 30 num_threads=1):
38 num_threads=num_threads)
  /external/google-benchmark/src/
counter.h 21 void Finish(UserCounters *l, double time, double num_threads);
  /external/libcxx/utils/google-benchmark/src/
counter.h 21 void Finish(UserCounters *l, double time, double num_threads);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_screen.h 52 unsigned num_threads; member in struct:llvmpipe_screen
  /external/tensorflow/tensorflow/contrib/lite/kernels/
gemm_support.h 49 void SetMaxNumThreads(TfLiteContext* context, int num_threads);
  /external/valgrind/drd/tests/
omp_printf.c 27 int num_threads = 2; local
36 case 't': num_threads = atoi(optarg); break;
47 assert(num_threads > 0);
49 omp_set_num_threads(num_threads);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/
counter.h 21 void Finish(UserCounters *l, double time, double num_threads);
  /art/runtime/
barrier_test.cc 55 static int32_t num_threads; member in class:art::BarrierTest
58 int32_t BarrierTest::num_threads = 4; member in class:art::BarrierTest
63 ThreadPool thread_pool("Barrier test thread pool", num_threads);
64 Barrier barrier(num_threads + 1); // One extra Wait() in main thread.
68 for (int32_t i = 0; i < num_threads; ++i) {
72 while (count1.LoadRelaxed() != num_threads) {
81 // Both counts should be equal to num_threads now.
82 EXPECT_EQ(count1.LoadRelaxed(), num_threads);
83 EXPECT_EQ(count2.LoadRelaxed(), num_threads);
114 ThreadPool thread_pool("Barrier test thread pool", num_threads);
    [all...]
  /system/extras/memory_replay/tests/
ThreadsTest.cpp 30 ASSERT_EQ(1U, threads.num_threads());
41 ASSERT_EQ(0U, threads.num_threads());
50 ASSERT_EQ(1U, threads.num_threads());
54 ASSERT_EQ(2U, threads.num_threads());
58 ASSERT_EQ(3U, threads.num_threads());
75 ASSERT_EQ(2U, threads.num_threads());
79 ASSERT_EQ(1U, threads.num_threads());
83 ASSERT_EQ(0U, threads.num_threads());
92 ASSERT_EQ(1U, threads.num_threads());
109 ASSERT_EQ(0U, threads.num_threads());
    [all...]

Completed in 1193 milliseconds

1 2 3 4 5 6 7 8 91011>>