[all-commits] [llvm/llvm-project] 9dee7c: Added free-threading CPython mode support in MLIR ...
vfdev via All-commits
all-commits at lists.llvm.org
Sun Jan 12 09:57:10 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9dee7c44491635ec9037b90050bcdbd3d5291e38
https://github.com/llvm/llvm-project/commit/9dee7c44491635ec9037b90050bcdbd3d5291e38
Author: vfdev <vfdev.5 at gmail.com>
Date: 2025-01-12 (Sun, 12 Jan 2025)
Changed paths:
M mlir/cmake/modules/AddMLIRPython.cmake
M mlir/docs/Bindings/Python.md
M mlir/lib/Bindings/Python/Globals.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/Bindings/Python/MainModule.cpp
M mlir/python/requirements.txt
A mlir/test/python/multithreaded_tests.py
Log Message:
-----------
Added free-threading CPython mode support in MLIR Python bindings (#107103)
Related to https://github.com/llvm/llvm-project/issues/105522
Description:
This PR is a joint work with Peter Hawkins (@hawkinsp) originally done
by myself for pybind11 and then reworked to nanobind based on Peter's
branch: https://github.com/hawkinsp/llvm-project/tree/nbdev .
- Added free-threading CPython mode support for MLIR Python bindings
- Added a test which can reveal data races when cpython and LLVM/MLIR
compiled with TSAN
Context:
- Related to https://github.com/google/jax/issues/23073
Co-authored-by: Peter Hawkins <phawkins at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list