cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
Type definitions used in CUDA real-time compilation work wrappers. More...
#include "../api/types.hpp"
#include <nvrtc.h>
#include <vector>
#include <cuda/rtc/detail/string_view.hpp>
Go to the source code of this file.
Namespaces | |
cuda | |
Definitions and functionality wrapping CUDA APIs. | |
cuda::rtc | |
Real-time compilation of programs using the NVIDIA libraries. | |
cuda::rtc::program | |
Definitions relating to source-code programs to be compiled. | |
Typedefs | |
using | cuda::rtc::const_cstrings_span = span< const char *const > |
A span of C-style strings the contents of which must not be modified. | |
template<source_kind_t Kind> | |
using | cuda::rtc::program::handle_t = typename cuda::rtc::detail_::types< Kind >::handle_type |
Raw program handle used by the NVIDIA run-time compilation libraries's API calls: // The NVRTC library for CUDA C++, and the PTX compiler library. | |
template<source_kind_t Kind> | |
using | cuda::rtc::status_t = typename detail_::types< Kind >::status_type |
Status values returned by the NVIDIA run-time compilation libraries's API calls: The NVRTC library for CUDA C++, and the PTX compiler library. | |
Enumerations | |
enum | cuda::source_kind_t { cuda::cuda_cpp = 0, cuda::ptx = 1 } |
The API wrappers support different kinds of source code, accepted by different NVIDIA run-time compilation libraries. More... | |
Type definitions used in CUDA real-time compilation work wrappers.