[Mlir-commits] [mlir] GPU known subgroup size (PR #112732)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 17 08:44:36 PDT 2024


================
@@ -352,15 +350,15 @@ gpu.module @shuffles attributes {
   // CHECK-SAME:              (%[[I8_VAL:.*]]: i8, %[[I16_VAL:.*]]: i16,
   // CHECK-SAME:               %[[I32_VAL:.*]]: i32, %[[I64_VAL:.*]]: i64,
   // CHECK-SAME:               %[[F16_VAL:.*]]: f16, %[[F32_VAL:.*]]: f32,
-  // CHECK-SAME:               %[[F64_VAL:.*]]: f64,  %[[OFFSET:.*]]: i32) {
+  // CHECK-SAME:               %[[F64_VAL:.*]]: f64,  %[[OFFSET:.*]]: i32)
----------------
FMarno wrote:


```suggestion
  // CHECK-SAME:               %[[F64_VAL:.*]]: f64,  %[[OFFSET:.*]]: i32) attributes {gpu.known_subgroup_size = 16 : i32} {
```
include the attribute in the check

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


More information about the Mlir-commits mailing list