AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

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

Open
#1,618 0 comments 0 reactions 0 assignees View on GitHub
nanovdb
Dominant language
C++
Stars
3.4k
Forks
774
Avg merge
3d 9h
Merged PRs (30d)
34

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the NanoVDB example ex_raytrace_level_set and the reported failure at nanovdb/examples/ex_raytrace_level_set/common.h line 50. Reproduce the command with data/dragon.nvdb on the Quadro M4000m using CUDA 12.1, then inspect how the example is built for the device. Done means the example runs without the reported CUDA error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.