CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::OpenCLPrinter Class Reference

Utilities for printing information about OpenCL. More...

#include <cxOpenCLPrinter.h>

Static Public Member Functions

static void printPlatformAndDeviceInfo ()
 
static void printPlatformInfo (cl::Platform platform)
 
static void printDeviceInfo (cl::Device device, bool verbose=false)
 
static void printContextInfo (cl::Context context)
 
static void printProgramInfo (cl::Program program)
 
static void printProgramSource (cl::Program program)
 
static void printKernelInfo (cl::Kernel kernel)
 
static void printMemoryInfo (cl::Memory memory)
 

Detailed Description

Utilities for printing information about OpenCL.

NOTE: Written using OpenCL 1.1 WARNING: the print commands might not contain all available information.

Date
Dec 9, 2013
Author
Janne Beate Bakeng, SINTEF

Definition at line 33 of file cxOpenCLPrinter.h.

Member Function Documentation

void cx::OpenCLPrinter::printContextInfo ( cl::Context  context)
static

Definition at line 100 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printDeviceInfo ( cl::Device  device,
bool  verbose = false 
)
static

Definition at line 54 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printKernelInfo ( cl::Kernel  kernel)
static

Definition at line 122 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printMemoryInfo ( cl::Memory  memory)
static

Definition at line 134 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printPlatformAndDeviceInfo ( )
static

Definition at line 22 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printPlatformInfo ( cl::Platform  platform)
static

Definition at line 43 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printProgramInfo ( cl::Program  program)
static

Definition at line 109 of file cxOpenCLPrinter.cpp.

void cx::OpenCLPrinter::printProgramSource ( cl::Program  program)
static

Definition at line 115 of file cxOpenCLPrinter.cpp.


The documentation for this class was generated from the following files: