|
static void | gmx::ocl::writeOclBuildLog (FILE *fplog, cl_program program, cl_device_id deviceId, const std::string &kernelFilename, const std::string &preprocessorOptions, bool buildFailed) |
| Handles writing the OpenCL JIT compilation log to fplog . More...
|
|
static std::string | gmx::ocl::selectCompilerOptions (ocl_vendor_id_t deviceVendorId) |
| Construct compiler options string. More...
|
|
static std::string | gmx::ocl::getKernelRootPath () |
| Get the path to the main folder storing OpenCL kernels. More...
|
|
static size_t | gmx::ocl::getWarpSize (cl_context context, cl_device_id deviceId) |
| Get the warp size reported by device. More...
|
|
static const char * | gmx::ocl::makeVendorFlavorChoice (ocl_vendor_id_t vendorId) |
| Select a compilation-line define for a vendor-specific kernel choice from vendor id. More...
|
|
static std::string | gmx::ocl::makeKernelIncludePathOption (const std::string &unescapedKernelRootPath) |
| Create include paths for kernel sources. More...
|
|
std::string | gmx::ocl::makePreprocessorOptions (const std::string &kernelRootPath, size_t warpSize, ocl_vendor_id_t deviceVendorId, const std::string &extraDefines) |
| Builds a string with build options for the OpenCL kernels. More...
|
|
cl_program | gmx::ocl::compileProgram (FILE *fplog, 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...
|
|