[Mlir-commits] [mlir] [MLIR:Python] Fix race on PyOperations. (PR #139721)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed May 14 08:35:43 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 HEAD~1...HEAD mlir/test/python/multithreaded_tests.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- multithreaded_tests.py 2025-05-14 15:32:47.000000 +0000
+++ multithreaded_tests.py 2025-05-14 15:35:16.467105 +0000
@@ -542,10 +542,11 @@
}
}
"""
)
)
+
def closure():
barrier.wait()
for _ in range(num_runs):
walk_operations(mlir_module)
``````````
</details>
https://github.com/llvm/llvm-project/pull/139721
More information about the Mlir-commits
mailing list