Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ocl_compiler.h File Reference
#include <string>
#include "gromacs/gpu_utils/oclutils.h"
+ Include dependency graph for ocl_compiler.h:

Description

Declare infrastructure for OpenCL JIT compilation.

Author
Dimitrios Karkoulis dimit.nosp@m.ris..nosp@m.karko.nosp@m.ulis.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Anca Hamuraru anca@.nosp@m.stre.nosp@m.amcom.nosp@m.puti.nosp@m.ng.eu
Teemu Virolainen teemu.nosp@m.@str.nosp@m.eamco.nosp@m.mput.nosp@m.ing.e.nosp@m.u
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

size_t gmx::ocl::getDeviceWarpSize (cl_context context, cl_device_id deviceId)
 Get the device-specific warp size. More...
 
size_t gmx::ocl::getKernelWarpSize (cl_kernel kernel, cl_device_id deviceId)
 Get the kernel-specific warp size. More...
 
cl_program gmx::ocl::compileProgram (FILE *fplog, const std::string &kernelRelativePath, const std::string &kernelBaseFilename, const std::string &extraDefines, cl_context context, cl_device_id deviceId, ocl_vendor_id_t deviceVendorId)
 Compile the specified kernel for the context and device. More...