We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 116fb56 commit 2487134Copy full SHA for 2487134
t-firstprivate-of-reference/test.cpp
@@ -4,7 +4,7 @@ int main() {
4
5
int a = 0, b = 0, x = 1;
6
bool onDevice = true;
7
- int max_threads = 10;
+ int max_threads = 32;
8
9
#pragma omp target map(tofrom : a, b, x) map(to : max_threads) if (onDevice)
10
#pragma omp parallel num_threads(max_threads)
0 commit comments