v1.8.0 #814
shi-eric
announced in
Announcements
v1.8.0
#814
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changelog
[1.8.0] - 2025-07-01
Added
wp.map()to map a function over arrays and add math operators for Warp arrays (docs, [REQ] Add awp.map()host-side API to apply a function to each element of an array #694).wp.capture_if()andwp.capture_while()(docs, [REQ] Extend graph capture support to allow conditional branches #597).wp.capture_debug_dot_print()to write a DOT file describing the structure of a captured CUDA graph ([REQ] Add access to cudaGraphDebugDotPrint to visualize cuda graphs #746).Device.sm_countproperty to get the number of streaming multiprocessors on a CUDA device ([REQ] Query number of SMs in the Device #584).wp.block_dim()to query the number of threads in the current block inside a kernel ([REQ] Allow block dimension to be retrieved in a kernel withwp.block_dim()#695).wp.atomic_cas()andwp.atomic_exch()built-ins for atomic compare-and-swap and exchange operations ([REQ] Expose atomicCAS and atomicExch #767).wp.config.compile_time_tracesetting or the module-level"compile_time_trace"option. When used, JSON files in the Trace Event format will be written in the kernel cache, which can be opened in a viewer likechrome://tracing/(docs, Add support for--fdevice-time-trace#609).wp.svd3()andwp.quat_to_axis_angle()([REQ] Allow calling multi-valued functions from Python (e.g.:wp.quat_to_axis_angle(),wp.svd3()) #503).wp.funcfunctions ([REQ] Allow tiles to be passed to user functions #682).wp.tile_squeeze()to remove axes of length one ([REQ] Add wp.tile_squeeze() #662).wp.tile_reshape()to reshape a tile ([REQ] Add wp.tile_reshape() #663).wp.tile_astype()to return a new tile with the same data but different data type. ([REQ] Tile API function to convert between data types #683).wp.tile_cholesky_solve()(Update libmathdx, extend tile_cholesky_solve to 2D rhs, and improve trsm based tile operations #773).wp.tile_scan_inclusive()andwp.tile_scan_exclusive()for performing inclusive and exclusive scans over tiles ([REQ] Add support for tile_inclusive_scan and tile_exclusive_scan #731).wp.transform_compose()andwp.transform_decompose()for converting between transforms and 4x4 matrices with 3D scale information ([REQ] Decompose a 4x4 transformation matrix to get the position, rotation (as quaternion), and scale. #576).wp.transformsyntax operations for loading and storing ([REQ] Add various wp.transform syntax operations for loading and storing #710).as_spheresparameter toUsdRenderer.render_points()in order to choose whether to render the points as USD spheres using a point instancer or as simple USD points ([BUG] render_points does not render different colors #634).wp.sim.VBDIntegrator.rebuild_bvh()to rebuild the BVH used for detecting self-contacts.wp.sim.VBDIntegratorcollisions, with strength is controlled byModel.soft_contact_kd.wp.fem.lookup()operator across geometries and add filtering parameters ([QUESTION] How to apply displacement field to update mesh geometry inwarp.fem? #618).warp.fem:fem/example_elastic_shape_optimization.pyandfem/example_darcy_ls_optimization.py(warp.femshape optimization example #698).py.typedmarker file (per PEP 561) to the package to formally support static type checking by downstream users (Add apy.typedfile for PEP 561 compliance #780).Removed
wp.mlp()(deprecated in v1.6.0). Use tile primitives instead.wp.autograd.plot_kernel_jacobians()(deprecated in v1.4.0). Usewp.autograd.jacobian_plot()instead.lengthandownerkeyword arguments fromwp.array()constructor (deprecated in v1.6.0). Use theshapeanddeleterkeywords instead.kernelkeyword argument fromwp.autograd.jacobian()andwp.autograd.jacobian_fd()(deprecated in v1.6.0). Use thefunctionkeyword argument instead.outputskeyword argument fromwp.autograd.jacobian_plot()(deprecated in v1.6.0).Changed
warp.simmodule (planned for removal in v1.10). It will be superseded by the upcoming Newton library, a separate package with a new API. Migrating will require code changes; a future guide will be provided (current draft). See the GitHub announcement for details (Deprecation Notice: warp.sim Module #735).wp.matrix(pos, quat, scale)built-in function. Usewp.transform_compose()instead ([REQ] Decompose a 4x4 transformation matrix to get the position, rotation (as quaternion), and scale. #576).len()where possible.wp.types.type_length()towp.types.type_size().wp.tile_cholesky_solve()input parameters to align with its docstring ([REQ] Update Tile Cholesky naming scheme #726).wp.tile_upper_solve()andwp.tile_lower_solve()to use libmathdx 0.2.1 TRSM solver (Update libmathdx, extend tile_cholesky_solve to 2D rhs, and improve trsm based tile operations #773).wp.tile_matmul()ifenable_backwardis disabled (Performance optimization: Skip compilation of LTO's for adjoint matmuls #644).preserve_type=Truewhen tiling a value across the block withwp.Tile()([REQ] preserve type when tiling a value across the block #772).wp.sparse.bsr_[set_]from_tripletsdifferentiable with respect to the input triplet values ([REQ] Makewp.sparse.bsr_from_tripletsdifferentiable #760).warp.femoperators:node_count,node_index,element_coordinates,element_closest_point.wp.sim.VBDIntegratorrigid-body-contact handling to use only the shape's friction coefficient, rather than averaging the shape's and the cloth's coefficients.wp.assign_copy()hidden built-in to the kernel scope.inputsandoutputsarguments in the Kernel documentation.wp.launch()by avoiding costly native API calls (Reduce cuda api overhead for kernel launch #774).@wp.func-decorated functions from the Python scope (Improve error reporting for calling user-defined functions from the Python scope #521).Fixed
Formal parameter space overflowederror duringwp.sim.VBDIntegratorkernel compilation for the backward pass in CUDA 11 Warp builds. This was resolved by decoupling collision and elasticity evaluations into separate kernels, increasing parallelism and speeding up the solver ([BUG] Compilation of adjoint kernel inwarp.sim.integrator_vbdfails with CUDA 11 #442).corrupted double-linked listcrash when running unit tests #718).UsdRenderer.render_points()not supporting multiple colors ([BUG] render_points does not render different colors #634).wp.femmodule regarding the orientation of 2D geometry side normals ([QUESTION] How to access vertices of both triangles sharing an edge in afem.integrandfunction? #629).This discussion was created from the release v1.8.0.
Beta Was this translation helpful? Give feedback.
All reactions