Description
Running Newton examples sporadically crashes with an access violation when the CUDA driver is also initialized in the same process. The crash occurs during kernel execution, not compilation.
Reproduction
# Crashes ~40% of the time with cold cache + CUDA GPU present
uv run python -c "import warp as wp; wp.clear_kernel_cache()"
uv run --extra dev -m newton.tests -k test_cloth_body_collision_semi_implicit -j 1
# Does not crash without CUDA
CUDA_VISIBLE_DEVICES="-1" uv run --extra dev -m newton.tests -k test_cloth_body_collision_semi_implicit -j 1
Observed on:
- Windows 10 Pro x64
- NVIDIA GeForce RTX 5080, Driver 13.1, CUDA Toolkit 13.0
- Warp 1.13.0.dev (LLVM 15.0.7 on Windows)
Warp unit tests appear unaffected, despite the same environment. Newton kernels are larger and more complex though.
Description
Running Newton examples sporadically crashes with an access violation when the CUDA driver is also initialized in the same process. The crash occurs during kernel execution, not compilation.
Reproduction
Observed on:
Warp unit tests appear unaffected, despite the same environment. Newton kernels are larger and more complex though.