LLVM OpenMP 20.0.0git
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <omp.h>
Go to the source code of this file.
Macros | |
#define | NTIMES 5 |
Functions | |
void | task_inc_a (int *a) |
void | task_inc_split_a (int *a, int low, int high) |
void | task_inc_a_detached (int *a, omp_event_handle_t handle) |
void | check_a (int *a, int expected) |
void | test_tasks (omp_event_handle_t *handles, int expected, int *a) |
void | test_base (int nthreads) |
void | test_nest (int first, int second) |
void | test_nest2 (int first, int second, int third) |
void | test_nest3 (int first, int second, int third, int fourth) |
void | test_nest4 (int first, int second, int third, int fourth, int fifth) |
void | test_tasks_split (omp_event_handle_t *handles, int expected, int *a) |
void | test_base_split (int nthreads) |
void | test_nest_split (int first, int second) |
void | test_nest2_split (int first, int second, int third) |
template<typename... Args> | |
void | run_ntimes (int n, void(*func)(Args...), Args... args) |
int | main () |
#define NTIMES 5 |
Definition at line 30 of file task_teams_stress_test.cpp.
Definition at line 77 of file task_teams_stress_test.cpp.
References a.
Referenced by test_tasks(), and test_tasks_split().
Definition at line 257 of file task_teams_stress_test.cpp.
References NTIMES, omp_set_max_active_levels, run_ntimes(), test_base(), test_base_split(), test_nest(), test_nest2(), test_nest2_split(), test_nest3(), test_nest4(), and test_nest_split().
Definition at line 33 of file task_teams_stress_test.cpp.
Referenced by test_tasks().
Definition at line 67 of file task_teams_stress_test.cpp.
Referenced by test_tasks(), and test_tasks_split().
Definition at line 42 of file task_teams_stress_test.cpp.
References a, and task_inc_split_a().
Referenced by task_inc_split_a(), and test_tasks_split().
Definition at line 114 of file task_teams_stress_test.cpp.
References a, and test_tasks().
Referenced by main(), and test_nest().
Definition at line 212 of file task_teams_stress_test.cpp.
References a, and test_tasks_split().
Referenced by main(), and test_nest_split().
Definition at line 130 of file task_teams_stress_test.cpp.
References test_base().
Referenced by main(), and test_nest2().
Definition at line 143 of file task_teams_stress_test.cpp.
References test_nest().
Referenced by main(), and test_nest3().
Definition at line 241 of file task_teams_stress_test.cpp.
References test_nest_split().
Referenced by main().
Definition at line 157 of file task_teams_stress_test.cpp.
References test_nest2().
Referenced by main(), and test_nest4().
Definition at line 172 of file task_teams_stress_test.cpp.
References test_nest3().
Referenced by main().
Definition at line 228 of file task_teams_stress_test.cpp.
References test_base_split().
Referenced by main(), and test_nest2_split().
Definition at line 88 of file task_teams_stress_test.cpp.
References a, check_a(), task_inc_a(), and task_inc_a_detached().
Definition at line 184 of file task_teams_stress_test.cpp.
References a, check_a(), task_inc_a_detached(), and task_inc_split_a().
Referenced by test_base_split().