Warp 1.9.0 initialized:
CUDA Toolkit 12.8, Driver 13.0
Devices:
"cpu" : "CPU"
"cuda:0" : "NVIDIA GeForce GTX 1080 Ti" (11 GiB, sm_61, mempool enabled)
Kernel cache:
/home/liblaf/.cache/warp/1.9.0
points=array(shape=(8,), dtype=vec3f)
indices=array(shape=(36,), dtype=int32)
Warp CUDA error 101: invalid device ordinal (in function scan_device, /builds/omniverse/warp/warp/native/scan.cu:35)
Warp CUDA error 209: no kernel image is available for execution on the device (in function scan_device, /builds/omniverse/warp/warp/native/scan.cu:44)
Warp CUDA error 101: invalid device ordinal (in function radix_sort_reserve_internal, /builds/omniverse/warp/warp/native/sort.cu:49)
Warp CUDA error 2: out of memory (in function wp_alloc_device_async, /builds/omniverse/warp/warp/native/warp.cu:611)
Warp CUDA error 101: invalid device ordinal (in function radix_sort_pairs_device, /builds/omniverse/warp/warp/native/sort.cu:92)
mesh_wp=<warp.types.Mesh object at 0x7cc6e160b770>
Bug Description
When creating a
wp.Meshobject fromwp.arrays, the constructor fails with a series of CUDA errors, including "invalid device ordinal" and "out of memory". This happens even on a system with a single, correctly identified GPU.Steps to Reproduce:
The following minimal code snippet consistently reproduces the error:
Error Output (click to expand)
System Information