Skip to content

Commit ba81cd1

Browse files
authored
[MLIR] Fix the tma_load test (#66208)
clang was used for local testing. The PR changes it to `mlir-cpu-runner`
1 parent 49ff6a9 commit ba81cd1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mlir/test/Integration/GPU/CUDA/sm90/tmaload_128_64_swizzle128b.mlir renamed to mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x64_swizzle128b.mlir

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
// RUN: -expand-strided-metadata --nvvm-attach-target="module=main_kernel features=+ptx80 chip=sm_90 O=3" \
1818
// RUN: | mlir-opt -pass-pipeline='builtin.module(gpu.module(strip-debuginfo,convert-gpu-to-nvvm,convert-index-to-llvm{index-bitwidth=32},canonicalize,cse))' \
1919
// RUN: | mlir-opt --gpu-to-llvm --gpu-module-to-binary -canonicalize -cse -reconcile-unrealized-casts \
20-
// RUN: | mlir-translate --mlir-to-llvmir -o %t.ll
21-
// RUN: clang %t.ll -O3 %mlir_cuda_runtime %mlir_runner_utils -o %t.exe
22-
// RUN: LD_LIBRARY_PATH=%shlibdir %t.exe | FileCheck %s
20+
// RUN: | mlir-cpu-runner \
21+
// RUN: --shared-libs=%mlir_cuda_runtime \
22+
// RUN: --shared-libs=%mlir_runner_utils \
23+
// RUN: --entry-point-result=void \
24+
// RUN: | FileCheck %s
2325

2426

2527
// Test swizzling with TMA load

0 commit comments

Comments
 (0)