Skip to content

v0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mmacklin mmacklin released this 13 Feb 03:11
· 2346 commits to main since this release

[0.7.0] - 2023-02-13

  • Add support for arbitrary length / type vector and matrices e.g.: wp.vec(length=7, dtype=wp.float16), see wp.vec(), and wp.mat()
  • Add support for array.flatten(), array.reshape(), and array.view() with NumPy semantics
  • Add support for slicing wp.array types in Python
  • Add wp.from_ptr() helper to construct arrays from an existing allocation
  • Add support for break statements in ranged-for and while loops (backward pass support currently not implemented)
  • Add built-in mathematic constants, see wp.pi, wp.e, wp.log2e, etc
  • Add built-in conversion between degrees and radians, see wp.degrees(), wp.radians()
  • Add security pop-up for Kernel Node
  • Improve error handling for kernel return values