Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
GPU621/OpenMP Debugging
8 bytes removed
,
19:08, 8 December 2021
→
Case A - Using the Thread window
#pragma omp parallel num_threads(8)
{
#pragma omp single // set openMP with num of threads ver
{
printf("num of thread currently using is %d \n", omp_get_num_threads());
Jash
49
edits