OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DeviceKernel.cpp File Reference
#include "DeviceKernel.h"
#include "CompilationContext.h"
#include "NvidiaKernel.h"
+ Include dependency graph for DeviceKernel.cpp:

Go to the source code of this file.


std::unique_ptr< DeviceKernelcreate_device_kernel (const CompilationContext *ctx, int device_id)

Function Documentation

std::unique_ptr<DeviceKernel> create_device_kernel ( const CompilationContext ctx,
int  device_id 

Definition at line 198 of file DeviceKernel.cpp.

Referenced by QueryExecutionContext::launchGpuCode().

199  {
200 #ifdef HAVE_CUDA
201  return std::make_unique<NvidiaKernel>(ctx, device_id);
202 #else
203  return nullptr;
204 #endif
205 }

+ Here is the caller graph for this function: