Definitions of functions and methods for the CLUtils library. More...
#include <vector>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <chrono>
#include <CLUtils.hpp>
Namespaces | |
clutils | |
It brings together functionality common to all OpenCL projects. | |
Functions | |
const char * | clutils::getOpenCLErrorCodeString (int errorCode) |
Returns the name of an error code. More... | |
bool | clutils::checkCLGLInterop (cl::Device &device) |
Checks the availability of the "GL Sharing" capability. More... | |
void | clutils::readSource (const std::vector< std::string > &kernel_filenames, std::vector< std::string > &sourceCodes) |
Reads in the contents from the requested files. More... | |
void | clutils::split (const std::string &str, char delim, std::vector< std::string > &names) |
Splits a string on the requested delimiter. More... | |
std::pair< const char *, size_t > | clutils::make_kernel_pair (const std::string &kernel_filename) |
Creates a pair of a char array (source code) and its size. More... | |
Definitions of functions and methods for the CLUtils library.
CLUtils offers utilities that help setup and manage an OpenCL environment.