[Mlir-commits] [mlir] [MLIR][GPU] Add cooperative launch support to gpu.launch_func (PR #190639)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Apr 7 02:07:10 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7763 tests passed
* 604 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/gpu.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir:89:12: error: CHECK: expected string not found in input
# | // CHECK: call void @mgpuLaunchClusterKernel(
# | ^
# | <stdin>:170:29: note: scanning from here
# | call void @mgpuLaunchKernel(ptr %5, i64 8, i64 8, i64 8, i64 8, i64 8, i64 8, i32 0, ptr %0, ptr %3, ptr null, i64 0)
# | ^
# | <stdin>:217:2: note: possible intended match here
# | call void @mgpuLaunchKernelEx(ptr %4, i64 2, i64 2, i64 2, i64 3, i64 3, i64 3, i32 0, ptr %5, ptr %2, ptr null, i64 1, i64 1, i64 1, i32 0)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/gpu.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 165: define void @foo(ptr %0) {
# | 166: %2 = alloca %0, align 8
# | 167: %3 = alloca ptr, i64 0, align 8
# | 168: %4 = load ptr, ptr @kernel_module_module, align 8
# | 169: %5 = call ptr @mgpuModuleGetFunction(ptr %4, ptr @kernel_module_kernel_name)
# | 170: call void @mgpuLaunchKernel(ptr %5, i64 8, i64 8, i64 8, i64 8, i64 8, i64 8, i32 0, ptr %0, ptr %3, ptr null, i64 0)
# | check:89'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 171: ret void
# | check:89'0 ~~~~~~~~~~
# | 172: }
# | check:89'0 ~~
# | 173:
# | check:89'0 ~
# | 174: define internal void @kernel_module_load() section ".text.startup" {
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 175: entry:
# | check:89'0 ~~~~~~~
# | .
# | .
# | .
# | 212: %1 = alloca %0, align 8
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 213: %2 = alloca ptr, i64 0, align 8
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 214: %3 = load ptr, ptr @kernel_module_module, align 8
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 215: %4 = call ptr @mgpuModuleGetFunction(ptr %3, ptr @kernel_module_kernel_name)
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 216: %5 = call ptr @mgpuStreamCreate()
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 217: call void @mgpuLaunchKernelEx(ptr %4, i64 2, i64 2, i64 2, i64 3, i64 3, i64 3, i32 0, ptr %5, ptr %2, ptr null, i64 1, i64 1, i64 1, i32 0)
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:89'1 ? possible intended match
# | 218: call void @mgpuStreamSynchronize(ptr %5)
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 219: call void @mgpuStreamDestroy(ptr %5)
# | check:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 220: ret void
# | check:89'0 ~~~~~~~~~~
# | 221: }
# | check:89'0 ~~
# | 222:
# | check:89'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/190639
More information about the Mlir-commits
mailing list