Open main menu

CDOT Wiki β

Changes

GPU621/OpenMP Debugging

1 byte removed, 19:07, 8 December 2021
Case A - Using the Thread window
#pragma omp parallel
{
#pragma omp single // set openMP ver
{
printf("num of thread currently using is %d \n", omp_get_num_threads());
49
edits