Skip to content

v1.12.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Apr 06:17
· 325 commits to main since this release
v1.12.1
fbceb2a

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_dim across devices (#1254), wp.tile_matmul() and wp.tile_fft() ignoring module-level enable_backward (#1320), and @wp.func with tile parameters failing to compile with shared-memory tiles (#1313). Tile parameters in @wp.func are 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.HashGrid neighbor 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 annotation repr() 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.fem examples 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(), and wp.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._src directly (e.g., from warp._src.math import ...) will stop working without warning. Please migrate to the public warp.* API.

Acknowledgments

Thanks to @thomasbbrunner for fixing boolean vector element assignment (#1302).