Skip to content

Commit 393bdd6

Browse files
committed
[NVPTX] Update Sync Scope ordering
1 parent 6076372 commit 393bdd6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/NVPTX/NVPTX.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ enum Ordering : OrderingUnderlyingType {
128128
using ScopeUnderlyingType = unsigned int;
129129
enum Scope : ScopeUnderlyingType {
130130
Thread = 0,
131-
System = 1,
132-
Block = 2,
133-
Cluster = 3,
134-
Device = 4,
135-
LASTSCOPE = Device
131+
Block = 1,
132+
Cluster = 2,
133+
Device = 3,
134+
System = 4,
135+
LASTSCOPE = System
136136
};
137137

138138
using AddressSpaceUnderlyingType = unsigned int;

0 commit comments

Comments
 (0)