OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DeviceKernel.h File Reference
#include <memory>
+ Include dependency graph for DeviceKernel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  DeviceClock
class  DeviceKernel


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 174 of file DeviceKernel.cpp.

Referenced by QueryExecutionContext::launchGpuCode().

175  {
176 #ifdef HAVE_CUDA
177  return std::make_unique<NvidiaKernel>(ctx, device_id);
178 #else
179  return nullptr;
180 #endif
181 }

+ Here is the caller graph for this function: