cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
common_ptx_compilation_options.hpp File Reference

Definitions and utility functions relating to just-in-time compilation and linking of CUDA PTX code. More...

#include "types.hpp"
#include "device.hpp"
#include <array>
Include dependency graph for common_ptx_compilation_options.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuda::caching< Op >
 A helper struct for templatizing caching<Op>::mode. More...
 
struct  cuda::caching< memory_operation_t::load >
 Load operation caching settings. More...
 
struct  cuda::caching< memory_operation_t::store >
 Store operation caching settings. More...
 
struct  cuda::rtc::common_ptx_compilation_options_t
 A subset of the options for compiling PTX code into SASS, usable both with the CUDA driver and with NVIDIA's PTX compilation library. More...
 

Namespaces

 cuda
 Definitions and functionality wrapping CUDA APIs.
 
 cuda::rtc
 Real-time compilation of programs using the NVIDIA libraries.
 

Typedefs

using cuda::rtc::ptx_register_count_t = int16_t
 The type used to specify the maximum number of SM registers to use, to the PTX compiler.
 
using cuda::rtc::optimization_level_t = int
 The type used to specify the intensity, and extent of allowed implication, of optimization efforts, for the PTX compilation.
 
template<memory_operation_t Op>
using cuda::caching_mode_t = typename caching< Op >::mode
 

Enumerations

enum  memory_operation_t {
  load,
  store
}
 

Variables

struct {
   optimization_level_t   minimum
 
   optimization_level_t   maximum
 
cuda::rtc::valid_optimization_level_range
 The range of optimization level values outside of which the compiler is certain not to support.
 

Detailed Description

Definitions and utility functions relating to just-in-time compilation and linking of CUDA PTX code.