33 #ifndef CXOPENCLPRINTER_H_ 34 #define CXOPENCLPRINTER_H_ 36 #include "cxResourceExport.h" 39 #include "OpenCLManager.hpp" 57 static void printPlatformAndDeviceInfo();
58 static void printPlatformInfo(cl::Platform platform);
59 static void printDeviceInfo(cl::Device device,
bool verbose =
false);
60 static void printContextInfo(cl::Context context);
61 static void printProgramInfo(cl::Program program);
62 static void printProgramSource(cl::Program program);
63 static void printKernelInfo(cl::Kernel kernel);
64 static void printMemoryInfo(cl::Memory memory);
67 static void printStringList(std::string list, std::string separator =
" ");
68 static void print(std::string name, std::string value,
int indents = 1);
69 static void print(std::string name,
int value,
int indents = 1);
70 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.