12 #ifndef CXOPENCLPRINTER_H_ 13 #define CXOPENCLPRINTER_H_ 15 #include "cxResourceExport.h" 18 #include "OpenCLManager.hpp" 36 static void printPlatformAndDeviceInfo();
37 static void printPlatformInfo(cl::Platform platform);
38 static void printDeviceInfo(cl::Device device,
bool verbose =
false);
39 static void printContextInfo(cl::Context context);
40 static void printProgramInfo(cl::Program program);
41 static void printProgramSource(cl::Program program);
42 static void printKernelInfo(cl::Kernel kernel);
43 static void printMemoryInfo(cl::Memory memory);
46 static void printStringList(std::string list, std::string separator =
" ");
47 static void print(std::string name, std::string value,
int indents = 1);
48 static void print(std::string name,
int value,
int indents = 1);
49 static std::string
const getIndentation(
unsigned int numberOfIndents);
void print(QString header, QRect r)
Utilities for printing information about OpenCL.
Namespace for all CustusX production code.