================
@@ -144,6 +201,28 @@ void non_promotable(int *array, int n) {
 #pragma omp target teams distribute parallel for if(n > 0)
   for (int i = 0; i < 1024; ++i)
     array[i] = i + 1;
+
+#pragma omp target
+  {
+#pragma omp teams loop
----------------
dhruvachak wrote:

Add a negative test case with num_teams, reduction clause on the teams 
directive.

https://github.com/llvm/llvm-project/pull/224650
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to