[llvm] [SPIR-V] Align memory scopes with SPIR-V specification and LLVM expectations and change default mem scope value (PR #108528)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 12:01:00 PDT 2024


================
@@ -36,19 +36,22 @@
 namespace {
 
 struct SyncScopeIDs {
-  llvm::SyncScope::ID Work_ItemSSID;
+  // Init SubGroupSSID with the reserved (invalid for SubGroupSSID) value to be
----------------
arsenm wrote:

I would assume Work_ItemSSID = SingleThread, not subgroup 

https://github.com/llvm/llvm-project/pull/108528


More information about the llvm-commits mailing list