LLVM OpenMP 20.0.0git
|
#include <cstdio>
#include <cmath>
#include <cassert>
#include <omp.h>
Go to the source code of this file.
Classes | |
struct | _task_red_item |
Macros | |
#define | N 10000 |
#define | FLG 0 |
Typedefs | |
typedef struct _task_red_item | _task_red_item_t |
Functions | |
void * | __kmpc_task_reduction_get_th_data (int gtid, void *tg, void *item) |
void * | __kmpc_task_reduction_init (int gtid, int num, void *data) |
int | __kmpc_global_thread_num (void *) |
void | __red_int_add_comb (void *lhs, void *rhs) |
void | __red_llong_add_comb (void *lhs, void *rhs) |
void | __red_dbl_mul_init (void *data) |
void | __red_dbl_mul_comb (void *lhs, void *rhs) |
void | __red_dbl_add_comb (void *lhs, void *rhs) |
void | calc_serial (int *pi, long long *pj, double *px, long long *pk, double *py) |
int | main () |
#define FLG 0 |
Definition at line 15 of file kmp_task_reduction_nest.cpp.
#define N 10000 |
Definition at line 11 of file kmp_task_reduction_nest.cpp.
typedef struct _task_red_item _task_red_item_t |
Definition at line 110 of file kmp_task_reduction_nest.cpp.
Referenced by main().
Definition at line 106 of file kmp_task_reduction_nest.cpp.
Referenced by main().
Definition at line 96 of file kmp_task_reduction_nest.cpp.
Referenced by main().
Definition at line 100 of file kmp_task_reduction_nest.cpp.
Referenced by main().
Definition at line 115 of file kmp_task_reduction_nest.cpp.
Referenced by main().
Definition at line 150 of file kmp_task_reduction_nest.cpp.
References __kmpc_global_thread_num(), __kmpc_task_reduction_get_th_data(), __kmpc_task_reduction_init(), __red_dbl_add_comb(), __red_dbl_mul_comb(), __red_dbl_mul_init(), __red_int_add_comb(), __red_llong_add_comb(), calc_serial(), double, err, _task_red_item::f_comb, _task_red_item::f_fini, _task_red_item::f_init, _task_red_item::flags, FLG, i, N, omp_get_max_threads(), _task_red_item::shar, and _task_red_item::size.