Questions tagged [cuda-driver]

A lower-level C-language API for managing computational work in the CUDA platform on NVIDIA GPU hardware.

This tag refers to the CUDA Driver API. It is a lower-level alternative to the much more common CUDA Runtime API. Both are part of the CUDA platform and offer different levels of abstraction when programming general-purpose GPU applications.

The Driver API resembles much of the OpenCL programming style. Unlike the Runtime API, it does not require the use of the nvcc compiler and offers the possibility of runtime compilation by means of the NVRTC library.

Members of the CUDA Driver API are prefixed with cu, while members of the Runtime API are prefixed with cuda. E.g.: cudaGetErrorName (Runtime API) vs cuGetErrorName (Driver API).

NVIDIA's documentation on the difference between the driver and runtime APIs.

Questions about CUDA Driver API can be asked here on Stack Overflow, but if you have bugs to report you should discuss them on the CUDA forums or report them via the registered developer portal. You may want to cross-link to any discussion here on SO.

46 questions
0
votes
1 answer

How to find more details on CUDA_ERROR_INVALID_VALUE?

As a side question to Use Vulkan VkImage as a CUDA cuArray, how could I get more details on what's wrong on a CUDA Driver API call that returns CUDA_ERROR_INVALID_VALUE? Specifically, the call is to cuExternalMemoryGetMappedMipmappedArray() and the…
jsantander
  • 4,972
  • 16
  • 27
1 2 3
4