Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1.4 Thread IDs
#include <stdio.h> #include <omp.h> int main(void) { printf("Thread id of this thread in sequential region, %d\n",omp_get_thread_num()); #pragma omp parallel printf("Thread id of this thread in parallel region, %d\n",omp_get_thread_num()); return 0; }
run
|
edit
|
history
|
help
0
Instruction order in C/C++
1
PI
Ppp
Practice
pseudo hw
Random by thread
25/11/2021
18BCE2182 ASSESS_1 Q2-1
SAI_1-4.c