17 int __kmpc_start_record_task(
ident_t *,
int,
int,
int);
18 void __kmpc_end_record_task(
ident_t *,
int,
int ,
int);
26 for (
int i = 0;
i <
N; ++
i)
32 for (
int iter = 0; iter <
NT; ++iter) {
34 int res = __kmpc_start_record_task(
nullptr, gtid, 0, 0);
37 #pragma omp taskloop reduction(+:sum) num_tasks(4096)
38 for (
int i = 0;
i <
N; ++
i) {
42 __kmpc_end_record_task(
nullptr, gtid, 0, 0);
47 std::cout <<
"Passed" << std::endl;
KMP_EXPORT kmp_int32 __kmpc_global_thread_num(ident_t *)
The ident structure that describes a source location.