25 #pragma omp task untied
28 start_tid[myi] = omp_get_thread_num();
30 if((start_tid[myi] %2) ==0){
32 current_tid[myi] = omp_get_thread_num();
41 if (current_tid[
i] == start_tid[
i])
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t count
#define omp_set_num_threads
static void my_sleep(double sleeptime)
Utility function to have a sleep function with better resolution and which only stops one thread.
int omp_get_max_threads()