Gromacs  2021.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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:


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

This functionality is currently disabled in compileProgram()

Dimitrios Karkoulis
Anca Hamuraru
Teemu Virolainen
Mark Abraham


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...