#include "MHO_OpenCLConfig.hh"
#include "MHO_Message.hh"
#include "MHO_TemplateTypenameDeduction.hh"
#include "MHO_OpenCLHeaderWrapper.hh"
#include <complex>
#include <map>
#include <string>
#include <vector>
#include <iostream>
Go to the source code of this file.
◆ MHO_OpenCLTypeMap
template<typename XValueType>
struct MHO_OpenCLTypeMap< XValueType >
Class Members |
typedef XValueType |
mapped_type |
|
◆ MHO_OpenCLTypeMap< float >
struct MHO_OpenCLTypeMap< float > |
Class Members |
typedef CL_TYPE |
mapped_type |
|
◆ MHO_OpenCLTypeMap< std::complex< float > >
struct MHO_OpenCLTypeMap< std::complex< float > > |
Class Members |
typedef CL_TYPE2 |
mapped_type |
|
◆ __CL_ENABLE_EXCEPTIONS
#define __CL_ENABLE_EXCEPTIONS |
◆ CL_ERROR_CATCH
Value: } \
catch(cl::Error error) \
{ \
std::cout << "OpenCL Exception caught: " << std::endl; \
std::cout << __FILE__ << ":" << __LINE__ << std::endl; \
std::cout << error.what() << "(" << error.err() \
<< ") = " << MHO_OpenCLInterface::GetInstance()->GetErrorMessage(error.err()) << std::endl; \
std::exit(1); \
}
◆ CL_ERROR_TRY
◆ CL_TYPE
◆ CL_TYPE16
#define CL_TYPE16 cl_float16 |
◆ CL_TYPE2
#define CL_TYPE2 cl_float2 |
◆ CL_TYPE4
#define CL_TYPE4 cl_float4 |
◆ CL_TYPE8
#define CL_TYPE8 cl_float8 |
◆ CL_VECTOR_TYPE
#define CL_VECTOR_TYPE std::vector |
◆ ENFORCE_CL_FINISH
#define ENFORCE_CL_FINISH |
◆ USE_CL_ERROR_TRY_CATCH
#define USE_CL_ERROR_TRY_CATCH |