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

Go to the source code of this file.

Classes

class  QueryEngine
 

Functions

CUstream getQueryEngineCudaStream ()
 
CUstream getQueryEngineCudaStreamForDevice (int device_num)
 

Variables

bool g_query_engine_cuda_streams {false}
 
size_t g_code_cache_max_num_items {1000}
 
size_t g_gpu_code_cache_max_size_in_bytes {size_t(1) << 27}
 

Function Documentation

CUstream getQueryEngineCudaStream ( )

Definition at line 3 of file QueryEngine.cpp.

References QueryEngine::getInstance().

3  { // NOTE: CUstream is cudaStream_t
4  return QueryEngine::getInstance()->getCudaStream();
5 }
static std::shared_ptr< QueryEngine > getInstance()
Definition: QueryEngine.h:89

+ Here is the call graph for this function:

CUstream getQueryEngineCudaStreamForDevice ( int  device_num)

Definition at line 7 of file QueryEngine.cpp.

8  { // NOTE: CUstream is cudaStream_t
9  return QueryEngine::getInstance()->getCudaStreamForDevice(device_num);
10 }
static std::shared_ptr< QueryEngine > getInstance()
Definition: QueryEngine.h:89

Variable Documentation

size_t g_code_cache_max_num_items {1000}
inline

Definition at line 11 of file QueryEngine.h.

size_t g_gpu_code_cache_max_size_in_bytes {size_t(1) << 27}
inline

Definition at line 12 of file QueryEngine.h.

Referenced by CommandLineOptions::fillDeveloperOptions().