AcademySoftwareFoundation / openvdb

OpenVDB - Sparse volume data structure and tools
http://www.openvdb.org/
Apache License 2.0
2.71k stars 660 forks source link

Getting error: no kernel image is available for execution on the device #1618

Open GrouchoChaplin opened 1 year ago

GrouchoChaplin commented 1 year ago

I have built OpenVDB and NanoVDB. I can run the OpenVDB cmd tools, such as vdb_view, and the nanovdb_print, nanovdb_validate, and nanovdb_convert, without problems. However when I try to run the nanovdb examples, I run into the issue in the title. For example, if I try to run the following:

ex_raytrace_level_set data/dragon.nvdb

I get the following results:

Loaded NanoVDB grid[ls_dragon]... Bounds: [-989,-415,-575] -> [1033,495,771] Average Duration(NanoVDB-Host) = 107.786 ms CUDA Runtime API error 209 in file openvdb-10.0.1/nanovdb/nanovdb/examples/ex_raytrace_level_set/common.h, line 50 : no kernel image is available for execution on the device.

I have CUDA 12.1 installed and haven't had any other issues with CUDA. Is there a path env var I need to set to find the cuda kernels?

My GPU is a Quadro M4000m