File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
mlir/include/mlir/Dialect/XeGPU/uArch Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ namespace xegpu {
30
30
namespace uArch {
31
31
32
32
// An enum class to represent the scope of an instruction
33
- enum class InstructionScope { WorkItem , Subgroup, Workgroup, Cluster };
33
+ enum class InstructionScope { Lane , Subgroup, Workgroup, Cluster };
34
34
enum class InstructionKind {
35
35
DPAS, // Dot Product Accumulate Systolic (DPAS) is a matrix
36
36
// multiply-add operation
@@ -66,8 +66,9 @@ struct Instruction {
66
66
InstructionScope getScope () { return scope; }
67
67
68
68
protected:
69
- InstructionKind instKind;
70
- InstructionScope scope;
69
+ InstructionKind instKind; // Specific InstructionKind (e.g., DPAS)
70
+ InstructionScope scope; // scope of the instruction (e.g., lane, subgroup,
71
+ // workgroup, cluster)
71
72
// @TODO: Add more fields as needed
72
73
};
73
74
You can’t perform that action at this time.
0 commit comments