OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NvidiaKernel.h File Reference
#include "CudaMgr/CudaMgr.h"
#include "QueryEngine/CompilationContext.h"
#include "../Shared/nocuda.h"
#include <string>
#include <vector>
+ Include dependency graph for NvidiaKernel.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

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().

+ Here is the caller graph for this function:

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.