Skip to content

Commit c68072a

Browse files
committed
[OpenMP][clang] 6.0: num_threads strict (part 2: device runtime)
OpenMP 6.0 12.1.2 specifies the behavior of the strict modifier for the num_threads clause on parallel directives, along with the message and severity clauses. This commit implements necessary device runtime changes.
1 parent 732c07a commit c68072a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openmp/runtime/src/kmp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4629,6 +4629,7 @@ extern void (*kmp_target_sync_cb)(ident_t *loc_ref, int gtid,
46294629
#endif // ENABLE_LIBOMPTARGET
46304630

46314631
// Support for error directive
4632+
// See definition in offload/DeviceRTL DeviceTypes.h
46324633
typedef enum kmp_severity_t {
46334634
severity_warning = 1,
46344635
severity_fatal = 2

0 commit comments

Comments
 (0)