NTrace
GPU ray tracing framework
|
#include <CudaCompiler.hpp>
Public Member Functions | |
CudaCompiler (void) | |
~CudaCompiler (void) | |
void | setCachePath (const String &path) |
void | setSourceFile (const String &path) |
void | setInlineSource (const String &source, const String &origin="") |
void | overrideSMArch (int arch) |
void | clearOptions (void) |
void | addOptions (const String &options) |
void | include (const String &path) |
void | clearDefines (void) |
void | undef (const String &key) |
void | define (const String &key, const String &value="") |
void | define (const String &key, int value) |
void | clearPreamble (void) |
void | addPreamble (const String &preamble) |
void | setMessageWindow (Window *window) |
CudaModule * | loadDbgCubin (bool enablePrints=true) |
CudaModule * | compile (bool enablePrints=true, bool autoFail=true) |
const Array< U8 > * | compileCubin (bool enablePrints=true, bool autoFail=true) |
String | compileCubinFile (bool enablePrints=true, bool autoFail=true) |
Static Public Member Functions | |
static void | setFrameworkPath (const String &path) |
static const String & | getFrameworkPath (void) |
static void | setStaticCudaBinPath (const String &path) |
static void | setStaticOptions (const String &options) |
static void | setStaticPreamble (const String &preamble) |
static void | setStaticBinaryFormat (const String &format) |
static void | staticInit (void) |
static void | staticDeinit (void) |
static void | flushMemCache (void) |
Definition at line 68 of file CudaCompiler.hpp.
CudaCompiler::CudaCompiler | ( | void | ) |
Definition at line 116 of file CudaCompiler.cpp.
CudaCompiler::~CudaCompiler | ( | void | ) |
Definition at line 139 of file CudaCompiler.cpp.
Definition at line 80 of file CudaCompiler.hpp.
Definition at line 89 of file CudaCompiler.hpp.
Definition at line 83 of file CudaCompiler.hpp.
Definition at line 79 of file CudaCompiler.hpp.
Definition at line 88 of file CudaCompiler.hpp.
CudaModule * CudaCompiler::compile | ( | bool | enablePrints = true , |
bool | autoFail = true |
||
) |
Definition at line 145 of file CudaCompiler.cpp.
Definition at line 209 of file CudaCompiler.cpp.
String CudaCompiler::compileCubinFile | ( | bool | enablePrints = true , |
bool | autoFail = true |
||
) |
Definition at line 242 of file CudaCompiler.cpp.
Definition at line 85 of file CudaCompiler.hpp.
Definition at line 86 of file CudaCompiler.hpp.
Definition at line 494 of file CudaCompiler.cpp.
Definition at line 98 of file CudaCompiler.hpp.
Definition at line 81 of file CudaCompiler.hpp.
CudaModule * CudaCompiler::loadDbgCubin | ( | bool | enablePrints = true | ) |
Definition at line 176 of file CudaCompiler.cpp.
|
inline |
Definition at line 77 of file CudaCompiler.hpp.
Definition at line 74 of file CudaCompiler.hpp.
Definition at line 97 of file CudaCompiler.hpp.
Definition at line 76 of file CudaCompiler.hpp.
Definition at line 91 of file CudaCompiler.hpp.
Definition at line 75 of file CudaCompiler.hpp.
Definition at line 103 of file CudaCompiler.hpp.
Definition at line 100 of file CudaCompiler.hpp.
Definition at line 101 of file CudaCompiler.hpp.
Definition at line 102 of file CudaCompiler.hpp.
Definition at line 474 of file CudaCompiler.cpp.
Definition at line 306 of file CudaCompiler.cpp.
Definition at line 84 of file CudaCompiler.hpp.