Gromacs
2018.8
|
#include "gmxpre.h"
#include "ocl_caching.h"
#include <assert.h>
#include <cctype>
#include <cstdio>
#include <algorithm>
#include <array>
#include <iterator>
#include <string>
#include <vector>
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/textreader.h"
#include "gromacs/utility/unique_cptr.h"
Define infrastructure for OpenCL JIT compilation for Gromacs.
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... | |