You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
-**Global Backend Control**:
18
18
-`xp.set_backend(name)`: Globally switch the active backend at runtime.
19
19
-`xp.use_backend(name)`: Context manager for temporary, scoped backend switching.
20
+
-`xp.numpy_backend` & `xp.cupy_backend`: Boolean properties to check the globally active backend.
20
21
-**Synchronization**:
21
22
-`xp.synchronize()`: Blocks until GPU operations are complete (no-op on CPU). Essential for accurate benchmarking.
22
23
-**Developer Experience**:
@@ -25,7 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
26
### Changed
26
27
-**Dynamic Dispatch Architecture**: Refactored `src/cunumpy/xp.py` to use module-level `__getattr__`. This ensures that `cunumpy.<op>` calls always resolve to the currently active backend module, enabling seamless runtime switching via `set_backend`.
27
28
-**Type Safety**: Updated `src/cunumpy/__init__.pyi` stubs to provide full IDE autocompletion and type-checking for all new API methods.
28
-
-**Documentation**: Enhanced `README.md` with usage examples for the new backend control and synchronization features.
29
+
-**Documentation**:
30
+
- Simplified `README.md` and documentation to exclusively focus on PyPI installation (`pip install cunumpy`).
31
+
- Enhanced `quickstart.md` and `api.md` with usage examples for the new backend control and synchronization features.
32
+
-**CI/CD**: Restricted GitHub Pages documentation deployment to the `devel` branch only.
29
33
30
34
### Fixed
31
35
- Improved `ArrayBackend` initialization to fallback gracefully to NumPy if CuPy is requested but not installed.
0 commit comments