Skip to content

[QUESTION] Catch an cuda OOM error #611

@yzx9

Description

@yzx9

How can I catch an cuda OOM (Out of Memory) error when trying to allocate a very large VDB using wp.Volume.allocate_by_tiles?

Warp CUDA error 2: out of memory (in function alloc_device_async, /builds/omniverse/warp/warp/native/warp.cu:588)
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to allocate grid buffer on the device

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcorequestionThe issue author requires information

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions