CLOGS
C++ library for sorting and searching in OpenCL applications
|
Basic types shared by several primitives. More...
#include <clogs/visibility_push.h>
#include <CL/cl.hpp>
#include <stdexcept>
#include <string>
#include <vector>
#include <clogs/visibility_pop.h>
#include <clogs/platform.h>
Go to the source code of this file.
Classes | |
class | clogs::InternalError |
Exception thrown on internal errors that are not the user's fault. More... | |
class | clogs::CacheError |
Exception thrown when the autotuning cache could not be read. More... | |
class | clogs::TuneError |
Exception thrown when a configuration could not be tuned at all. More... | |
class | clogs::Error |
class | clogs::Type |
Encapsulation of an OpenCL built-in type that can be stored in a buffer. More... | |
class | clogs::detail::UnwrapArray< T, Thin > |
Creates an array of handles from a vector of wrappers. More... | |
class | clogs::detail::UnwrapArray< T, false > |
class | clogs::detail::UnwrapArray< T, true > |
struct | clogs::detail::CallbackWrapper |
class | clogs::Algorithm |
Base class for all algorithm classes. More... | |
Namespaces | |
clogs | |
OpenCL primitives. | |
Macros | |
#define | CLOGS_VERSION_MAJOR 1 |
API major version number. | |
#define | CLOGS_VERSION_MINOR 5 |
API minor version number. | |
Enumerations | |
enum | clogs::BaseType { TYPE_VOID, TYPE_UCHAR, TYPE_CHAR, TYPE_USHORT, TYPE_SHORT, TYPE_UINT, TYPE_INT, TYPE_ULONG, TYPE_LONG, TYPE_HALF, TYPE_FLOAT, TYPE_DOUBLE } |
Enumeration of scalar types supported by OpenCL C which can be stored in a buffer. | |
Functions | |
static void | clogs::detail::handleError (cl_int err, const char *errStr) |
Throws an exception if a non-success error code is given. More... | |
static void | clogs::detail::callbackWrapperCall (cl_event event, void *userData) |
static void | clogs::detail::callbackWrapperFree (void *userData) |
static CallbackWrapper * | clogs::detail::makeCallbackWrapper (void(*callback)(const cl::Event &, void *), void *userData, void(*free)(void *)) |
template<typename T > | |
static void | clogs::detail::genericCallbackCall (cl_event event, void *userData) |
template<typename T > | |
static void | clogs::detail::genericCallbackFree (void *userData) |
Basic types shared by several primitives.
|
inlinestatic |
Throws an exception if a non-success error code is given.
err,errStr | Error code and message (code may be CL_SUCCESS ) |
cl::Error | if err is not CL_SUCCESS |