cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
cuda::rtc::program Namespace Reference

Definitions relating to source-code programs to be compiled. More...

Typedefs

template<source_kind_t Kind>
using 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.
 

Functions

template<source_kind_t Kind>
program_t< Kind > create (const char *program_name)
 Create a new (not-yet-compiled) program without setting most of its constituent fields.
 
template<source_kind_t Kind>
program_t< Kind > create (const ::std::string &program_name)
 Create a new (not-yet-compiled) program without setting most of its constituent fields. <source_kind_t>(const char*) More...
 

Detailed Description

Definitions relating to source-code programs to be compiled.

Function Documentation

◆ create()

template<source_kind_t Kind>
program_t<Kind> cuda::rtc::program::create ( const ::std::string &  program_name)
inline

Create a new (not-yet-compiled) program without setting most of its constituent fields. <source_kind_t>(const char*)

<source_kind_t>(const char*)