8 #ifndef CUDA_API_WRAPPERS_RTC_VERSIONS_HPP_ 9 #define CUDA_API_WRAPPERS_RTC_VERSIONS_HPP_ 12 #include "../api/versions.hpp" 16 namespace version_numbers {
23 auto status = nvrtcVersion(&version.major, &version.minor);
31 #endif // CUDA_API_WRAPPERS_RTC_VERSIONS_HPP_ Definitions and functionality wrapping CUDA APIs.
Definition: array.hpp:22
version_t nvrtc()
Obtain the NVRTC library version.
Definition: versions.hpp:21
#define throw_if_error_lazy(status__,...)
A macro for only throwing an error if we've failed - which also ensures no string is constructed unle...
Definition: error.hpp:316
A structure representing a CUDA release version.
Definition: versions.hpp:39
Facilities for exception-based handling of errors originating to the NVRTC library, including a basic exception class wrapping ::std::runtime_error.