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

1 2

  /external/clang/test/OpenMP/
taskloop_num_tasks_messages.cpp 14 #pragma omp taskloop num_tasks // expected-error {{expected '(' after 'num_tasks'}}
17 #pragma omp taskloop num_tasks ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
20 #pragma omp taskloop num_tasks () // expected-error {{expected expression}}
23 #pragma omp taskloop num_tasks (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
26 #pragma omp taskloop num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pragma omp taskloop' are ignored}}
29 #pragma omp taskloop num_tasks (argc > 0 ? argv[1][0] : argv[2][argc])
32 #pragma omp taskloop num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directive '#pragma omp taskloop' cannot contain more than one 'num_tasks' clause}
    [all...]
taskloop_simd_num_tasks_messages.cpp 14 #pragma omp taskloop simd num_tasks // expected-error {{expected '(' after 'num_tasks'}}
17 #pragma omp taskloop simd num_tasks ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
20 #pragma omp taskloop simd num_tasks () // expected-error {{expected expression}}
23 #pragma omp taskloop simd num_tasks (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
26 #pragma omp taskloop simd num_tasks (argc)) // expected-warning {{extra tokens at the end of '#pragma omp taskloop simd' are ignored}}
29 #pragma omp taskloop simd num_tasks (argc > 0 ? argv[1][0] : argv[2][argc])
32 #pragma omp taskloop simd num_tasks (foobool(argc)), num_tasks (true) // expected-error {{directive '#pragma omp taskloop simd' cannot contain more than one 'num_tasks' clause}
    [all...]
taskloop_codegen.cpp 55 #pragma omp taskloop if(argc) shared(argc, argv) collapse(2) num_tasks(4)
154 // CHECK: [[NUM_TASKS:%.+]] = zext i32 %{{.+}} to i64
155 // CHECK: call void @__kmpc_taskloop(%ident_t* [[DEFLOC]], i32 [[GTID]], i8* [[TASKV]], i32 1, i64* [[DOWN]], i64* [[UP]], i64 [[ST_VAL]], i32 0, i32 2, i64 [[NUM_TASKS]], i8* null)
156 #pragma omp taskloop shared(c) num_tasks(a)
taskloop_simd_codegen.cpp 55 #pragma omp taskloop simd if(argc) shared(argc, argv) collapse(2) num_tasks(4) safelen(32)
156 // CHECK: [[NUM_TASKS:%.+]] = zext i32 %{{.+}} to i64
157 // CHECK: call void @__kmpc_taskloop(%ident_t* [[DEFLOC]], i32 [[GTID]], i8* [[TASKV]], i32 1, i64* [[DOWN]], i64* [[UP]], i64 [[ST_VAL]], i32 0, i32 2, i64 [[NUM_TASKS]], i8* null)
158 #pragma omp taskloop simd shared(c) num_tasks(a) simdlen(64) safelen(8)
taskloop_ast_print.cpp 23 #pragma omp taskloop private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) shared(g) if (c) final(d) mergeable priority(f) nogroup num_tasks(N)
36 // CHECK-NEXT: #pragma omp taskloop private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) shared(g) if(c) final(d) mergeable priority(f) nogroup num_tasks(N)
55 #pragma omp taskloop if(taskloop: a) default(none) shared(a) final(b) priority(5) nogroup num_tasks(argc)
56 // CHECK-NEXT: #pragma omp taskloop if(taskloop: a) default(none) shared(a) final(b) priority(5) nogroup num_tasks(argc)
taskloop_simd_ast_print.cpp 24 #pragma omp taskloop simd private(argc, b), firstprivate(c, d), lastprivate(d, f) collapse(N) shared(g) if (c) final(d) mergeable priority(f) simdlen(N) nogroup num_tasks(N)
37 // CHECK-NEXT: #pragma omp taskloop simd private(argc,b) firstprivate(c,d) lastprivate(d,f) collapse(N) shared(g) if(c) final(d) mergeable priority(f) simdlen(N) nogroup num_tasks(N)
56 #pragma omp taskloop simd if(taskloop: a) default(none) shared(a) final(b) priority(5) safelen(8) linear(b), aligned(argv) nogroup num_tasks(argc)
57 // CHECK-NEXT: #pragma omp taskloop simd if(taskloop: a) default(none) shared(a) final(b) priority(5) safelen(8) linear(b) aligned(argv) nogroup num_tasks(argc)
taskloop_grainsize_messages.cpp 47 #pragma omp taskloop grainsize(argc) num_tasks(argc) // expected-error {{'num_tasks' and 'grainsize' clause are mutually exclusive and may not appear on the same directive}} expected-note {{'grainsize' clause is specified here}}
94 #pragma omp taskloop grainsize(argc) num_tasks(argc) // expected-error {{'num_tasks' and 'grainsize' clause are mutually exclusive and may not appear on the same directive}} expected-note {{'grainsize' clause is specified here}}
taskloop_simd_grainsize_messages.cpp 47 #pragma omp taskloop simd grainsize(argc) num_tasks(argc) // expected-error {{'num_tasks' and 'grainsize' clause are mutually exclusive and may not appear on the same directive}} expected-note {{'grainsize' clause is specified here}}
94 #pragma omp taskloop simd grainsize(argc) num_tasks(argc) // expected-error {{'num_tasks' and 'grainsize' clause are mutually exclusive and may not appear on the same directive}} expected-note {{'grainsize' clause is specified here}}
  /external/ltp/testcases/kernel/controllers/freezer/
timed_forkbomb.c 33 unsigned int duration = 1, num_tasks = 0; local
76 num_tasks++;
83 printf("Forked %d tasks\n", num_tasks);
  /external/toolchain-utils/bestflags/
steering.py 49 num_tasks = 0
58 num_tasks += 1
61 if not num_tasks:
testing_batch.py 107 def GenerateRandomGATasks(specs, num_tasks, num_trials):
112 num_tasks: number of tasks that should be generated.
123 while len(tasks) < num_tasks and total_trials < num_trials:
  /art/runtime/
thread_pool_test.cc 66 static const int32_t num_tasks = num_threads * 4; local
67 for (int32_t i = 0; i < num_tasks; ++i) {
74 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent());
81 static const int32_t num_tasks = num_threads * 4; local
82 for (int32_t i = 0; i < num_tasks; ++i) {
107 static const int32_t num_tasks = num_threads * 100; local
108 for (int32_t i = 0; i < num_tasks; ++i) {
barrier_test.cc 117 const int32_t num_tasks = num_threads * 4; local
119 for (int32_t i = 0; i < num_tasks; ++i) {
123 const int32_t expected_total_tasks = num_sub_tasks * num_tasks;
  /external/ltp/testcases/kernel/controllers/cpuctl/
cpuctl_test01.c 103 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ local
173 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
177 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
247 num_tasks);
cpuctl_test02.c 106 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ local
184 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
188 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
267 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
273 num_tasks);
cpuctl_def_task01.c 103 unsigned int fmyshares, num_tasks; local
168 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
172 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
cpuctl_def_task02.c 104 unsigned int fmyshares, num_tasks; local
180 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
184 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
cpuctl_def_task03.c 100 unsigned int fmyshares, num_tasks; local
175 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
179 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
cpuctl_def_task04.c 102 unsigned int fmyshares, num_tasks; local
185 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
189 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
cpuctl_test03.c 102 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ local
180 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
184 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
cpuctl_test04.c 103 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ local
191 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0)
195 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks);
  /external/v8/src/heap/
page-parallel-job.h 75 void Run(int num_tasks, Callback per_task_data_callback) {
77 DCHECK_GE(num_tasks, 1);
83 num_tasks_ = Max(1, Min(num_tasks, max_num_tasks));
  /external/libchrome/base/message_loop/
message_loop_test.cc 132 int num_tasks = 1; local
136 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time, &num_tasks), kDelay);
142 EXPECT_EQ(0, num_tasks);
151 int num_tasks = 2; local
155 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time1, &num_tasks),
160 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time2, &num_tasks),
164 EXPECT_EQ(0, num_tasks);
183 int num_tasks = 2;
187 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay);
189 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay)
233 int num_tasks = 11; local
260 int num_tasks = 1; local
    [all...]
message_loop_unittest.cc 115 // By setting num_tasks to 1, we ensure that the first task to run causes the
117 int num_tasks = 1; local
125 Bind(&RecordRunTimeFunc, &run_time, &num_tasks),
137 EXPECT_EQ(1, num_tasks);
606 explicit DummyTaskObserver(int num_tasks)
609 num_tasks_(num_tasks) {}
    [all...]
  /external/libchrome/base/threading/
worker_pool_posix_unittest.cc 112 void WaitForTasksToStart(int num_tasks) {
114 while (num_waiting_to_start_ < num_tasks) {

Completed in 335 milliseconds

1 2