Warp v1.12.1
Warp v1.12.1 is a bugfix release following v1.12.0. For a complete list of changes, see the changelog.
Highlights
-
Tile Correctness: Fixed several tile kernel issues, including kernel dispatch using incorrect
block_dimacross devices (#1254),wp.tile_matmul()andwp.tile_fft()ignoring module-levelenable_backward(#1320), and@wp.funcwith tile parameters failing to compile with shared-memory tiles (#1313). Tile parameters in@wp.funcare now passed by reference for both register and shared storage, matching Python's semantics for mutable objects. -
Silent Correctness Bugs: Fixed compile-time constants silently losing precision when passed to 64-bit scalar constructors like
wp.float64()(#485),wp.HashGridneighbor queries missing results for negative coordinates (#1256), and augmented assignments with subscript or attribute targets (e.g.,s.field += expr,arr[i] *= expr) double-evaluating the target expression (#1233). -
Type System and Tooling: Fixed struct field assignments converting Warp scalar types to plain Python types (#1288),
wp.array[dtype]not being recognized by mypy (#1278), and array annotationrepr()displaying raw internal class paths (#1341). -
Kit Extensions Removed: The Omniverse Kit extensions have been removed from this repository (#1296).
-
New Examples: Added a differentiable 2-D Navier-Stokes optimization example and three
warp.femexamples for Taylor-Green vortex, Kelvin-Helmholtz instability, and shallow water equations.
Announcements
Upcoming removals
The following deprecations will be finalized in Warp 1.13.0:
- Python 3.9 support will be removed. Python 3.10 becomes the minimum supported version. If you are still on Python 3.9, please plan to upgrade.
wp.isfinite(),wp.isnan(), andwp.isinf()will no longer accept integer types. These functions only produce meaningful results for floating-point inputs and have been emitting deprecation warnings for integer arguments since 1.12.0.- Private API deprecation warnings will be removed. Code that imports from
warp._srcdirectly (e.g.,from warp._src.math import ...) will stop working without warning. Please migrate to the publicwarp.*API.
Acknowledgments
Thanks to @thomasbbrunner for fixing boolean vector element assignment (#1302).