OmniSciDB
a5dc49c757
|
#include "CudaMgr/CudaMgr.h"
#include "QueryEngine/CompilationContext.h"
#include "../Shared/nocuda.h"
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | CubinResult |
class | GpuDeviceCompilationContext |
class | GpuCompilationContext |
Functions | |
void | nvidia_jit_warmup () |
CubinResult | ptx_to_cubin (const std::string &ptx, const CudaMgr_Namespace::CudaMgr *cuda_mgr) |
void nvidia_jit_warmup | ( | ) |
Loads the fatbin from disk which populates the nvcache. The fatbin load can take several seconds, so we warmup the GPU JIT at server startup.
Referenced by CudaMgr_Namespace::CudaMgr::CudaMgr().
CubinResult ptx_to_cubin | ( | const std::string & | ptx, |
const CudaMgr_Namespace::CudaMgr * | cuda_mgr | ||
) |
Compile and link PTX from the LLVM NVPTX backend with the CUDA runtime module and device linker to create executable GPU device code.