File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ template <typename D> class NoBranchingEnforce {
74
74
case llvm::omp::Directive::OMPD_distribute_parallel_for:
75
75
case llvm::omp::Directive::OMPD_distribute_simd:
76
76
case llvm::omp::Directive::OMPD_distribute_parallel_for_simd:
77
+ case llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do:
78
+ case llvm::omp::Directive::
79
+ OMPD_target_teams_distribute_parallel_do_simd:
77
80
return ;
78
81
default :
79
82
break ;
Original file line number Diff line number Diff line change @@ -42,4 +42,19 @@ program omp_do
42
42
end do
43
43
! $omp end parallel
44
44
45
+ ! $omp target teams distribute parallel do
46
+ ! DEF:/omp_do/OtherConstruct4/i (OmpPrivate ,OmpPreDetermined) HostAssoc INTEGER(4)
47
+ do i= 1 ,100
48
+ ! REF:/omp_do/OtherConstruct4/i
49
+ if (i< 10 ) cycle
50
+ end do
51
+ ! $omp end target teams distribute parallel do
52
+
53
+ ! $omp target teams distribute parallel do simd
54
+ ! DEF:/omp_do/OtherConstruct5/i (OmpLinear,OmpPreDetermined) HostAssoc INTEGER(4)
55
+ do i= 1 ,100
56
+ ! REF:/omp_do/OtherConstruct5/i
57
+ if (i< 10 ) cycle
58
+ end do
59
+ ! $omp end target teams distribute parallel do simd
45
60
end program omp_do
You can’t perform that action at this time.
0 commit comments