Go to the documentation of this file.
20#include "ompt/ompt-signal.h"
22int main(
int argc,
char *argv[]) {
25#pragma omp parallel num_threads(2) shared(var, a)
29#pragma omp task shared(var)
45 fprintf(stderr,
"DONE\n");
46 int error = (var != 2);