Gromacs  2022.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ocl_caching.h File Reference
#include <string>
#include "gromacs/gpu_utils/oclutils.h"
+ Include dependency graph for ocl_caching.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declare infrastructure for managing caching of OpenCL JIT-ted binaries.

This functionality is currently disabled in compileProgram()

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

std::string gmx::ocl::makeBinaryCacheFilename (const std::string &kernelFilename, cl_device_id deviceId)
 Construct the name for the binary cache file. More...
 
cl_program gmx::ocl::makeProgramFromCache (const std::string &filename, cl_context context, cl_device_id deviceId)
 Check if there's a valid cache available, and return it if so. More...
 
void gmx::ocl::writeBinaryToCache (cl_program program, const std::string &filename)
 Implement caching of OpenCL binaries. More...