00001 #ifndef _CLUTILITY_H_NOU_ 00002 #define _CLUTILITY_H_NOU_ 00003 00004 #include <iostream> 00005 #include <string> 00006 #include <CL/cl.h> 00007 00008 using namespace std; 00009 00010 void getDeviceInfo(cl_device_id device); 00011 void clGetError(cl_int err_code); 00012 string getPlatformInfo(cl_platform_id platform_id); 00013 string getDeviceInfoShort(cl_device_id device); 00014 string getBuildLog(cl_program program); 00015 00016 #endif // _CLUTILITY_H_NOU_