Declarations of objects, functions and classes for the CLUtils library. More...
#include <iostream>
#include <iomanip>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <chrono>
#include <cassert>
#include <cmath>
#include <CL/cl.hpp>
Go to the source code of this file.
Classes | |
class | clutils::CLEnv |
Sets up an OpenCL environment. More... | |
class | clutils::CLEnvInfo< nQueues > |
Facilitates the conveyance of CLEnv arguments. More... | |
class | clutils::ProfilingInfo< nSize, rep > |
A class that collects and manipulates timing information about a test. More... | |
class | clutils::CPUTimer< rep, period > |
A class for measuring execution times. More... | |
class | clutils::GPUTimer< period > |
A class for profiling CL devices. More... | |
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... | |
Declarations of objects, functions and classes for the CLUtils library.
CLUtils offers utilities that help setup and manage an OpenCL environment.