18 #ifndef __itkOpenCLUtil_h
19 #define __itkOpenCLUtil_h
32 #include <OpenCL/opencl.h>
36 #include <CL/opencl.h>
66 void OpenCLCheckError(cl_int error,
const char* filename=
"",
int lineno=0,
const char* location=
"");
72 std::string
GetTypename(
const std::type_info& intype);
75 bool GetValidTypename(
const std::type_info& intype,
const std::vector<std::string>& validtypes, std::string& retTypeName);