[Mlir-commits] [mlir] [mlir][spirv] Add definition for OpGroupNonUniformBallotBitCount (PR #126055)
Andrea Faulds
llvmlistbot at llvm.org
Thu Feb 6 08:16:17 PST 2025
================
@@ -1287,4 +1297,70 @@ def SPIRV_GroupNonUniformLogicalXorOp :
// -----
+def SPIRV_GroupNonUniformBallotBitCountOp : SPIRV_Op<"GroupNonUniformBallotBitCount", [
+ SPIRV_ExecutionScopeAttrIs<"execution_scope", "Subgroup">,
+ SPIRV_GroupOperationAttrIs<"group_operation", "Reduce">
----------------
andfau-amd wrote:
Where does the requirement that the group operation must be Reduce come from? The requirement that the execution scope is Subgroup seems to come from the SPIR-V op definition, but this doesn't?
https://github.com/llvm/llvm-project/pull/126055
More information about the Mlir-commits
mailing list