[Mlir-commits] [mlir] [mlir][python] Add tests for gpu.launch(_func) ops (PR #163883)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 16 15:51:16 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r origin/main...HEAD mlir/test/python/dialects/gpu/dialect.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- dialect.py	2025-10-16 22:42:54.000000 +0000
+++ dialect.py	2025-10-16 22:50:50.610269 +0000
@@ -156,10 +156,11 @@
     # CHECK: }
     # CHECK: gpu.func @non_kernel_func() {
     # CHECK:   %[[VAL_0:.*]] = gpu.global_id  x
     # CHECK:   gpu.return
     # CHECK: }
+
 
 # CHECK-LABEL: testGPULaunchFuncOp
 @run
 def testGPULaunchFuncOp():
     module = Module.create()

``````````

</details>


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


More information about the Mlir-commits mailing list