[Mlir-commits] [mlir] [mlir][spirv] Add target width to SPIR-V ABI (PR #88555)
Hsiangkai Wang
llvmlistbot at llvm.org
Mon Apr 15 01:25:11 PDT 2024
================
@@ -1,12 +1,16 @@
// RUN: mlir-opt -test-spirv-entry-point-abi %s | FileCheck %s -check-prefix=DEFAULT
// RUN: mlir-opt -test-spirv-entry-point-abi="workgroup-size=32" %s | FileCheck %s -check-prefix=WG32
+// RUN: mlir-opt -test-spirv-entry-point-abi="target-width=32" %s | FileCheck %s -check-prefix=TW32
// DEFAULT: gpu.func @foo()
// DEFAULT-SAME: spirv.entry_point_abi = #spirv.entry_point_abi<workgroup_size = [1, 1, 1]>
// WG32: gpu.func @foo()
// WG32-SAME: spirv.entry_point_abi = #spirv.entry_point_abi<workgroup_size = [32, 1, 1]>
+// TW32: gpu.func @foo()
+// TW32-SAME: spirv.entry_point_abi = #spirv.entry_point_abi<workgroup_size = [1, 1, 1], target_width = 32>
----------------
Hsiangkai wrote:
Done.
https://github.com/llvm/llvm-project/pull/88555
More information about the Mlir-commits
mailing list