cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

cuda_driver_api.h doesn't exist?

Open sbug51 opened this issue 10 months ago • 4 comments

No matter what I try to install, I can't seem to win, I can't find cuda_driver_api.h does it come with the installer? it certainly isn't in the cuda samples.

thanks,

sbug51 avatar Feb 25 '25 14:02 sbug51

Which version of the CUDA Samples are you referring to, and where is cuda_driver_api.h referenced?

My search in v12.8 Samples doesn't show any use of cuda_driver_api.h

jnbntz avatar Feb 25 '25 18:02 jnbntz

The cuda_driver_api.h header was removed from CUDA Toolkit a long time back and its content was refactored into other headers - I'm not 100% certain which release offhand, but I think it was around 10.0.

You should include cuda.h instead.

rwarmstr avatar Feb 26 '25 16:02 rwarmstr

The cuda_driver_api.h header was removed from CUDA Toolkit a long time back and its content was refactored into other headers - I'm not 100% certain which release offhand, but I think it was around 10.0.

You should include cuda.h instead.

then Ollama keeps on requesting it... shall I ask that in Ollama group? and CUDA doesn't install it.

sbug51 avatar Feb 27 '25 09:02 sbug51

I would ask in a forum relating to Ollama. CUDA hasn't provided that header in some time. They may have a similarly-named header, but I'm not able to speak to any particular software package's requirements.

rwarmstr avatar Feb 28 '25 01:02 rwarmstr