class
#include <FAST/ExecutionDevice.hpp>
OpenCLDevice
Contents
Base classes
- class ExecutionDevice
Constructors, destructors, conversion operators
- OpenCLDevice(std::vector<cl::Device> devices, unsigned long* glContext = NULL)
- ~OpenCLDevice()
Public functions
- auto getCommandQueue() -> cl::CommandQueue
- auto getDevice() -> cl::Device
- auto createProgramFromSource(std::string filename, std::string buildOptions = "", bool caching = true) -> int
- auto createProgramFromSource(std::vector<std::string> filenames, std::string buildOptions = "") -> int
- auto createProgramFromString(std::string code, std::string buildOptions = "") -> int
- auto createProgramFromSourceWithName(std::string programName, std::string filename, std::string buildOptions = "") -> int
- auto createProgramFromSourceWithName(std::string programName, std::vector<std::string> filenames, std::string buildOptions = "") -> int
- auto createProgramFromStringWithName(std::string programName, std::string code, std::string buildOptions = "") -> int
- auto getProgram(unsigned int i) -> cl::Program
- auto getProgram(std::string name) -> cl::Program
- auto hasProgram(std::string name) -> bool
- auto isImageFormatSupported(cl_channel_order order, cl_channel_type type, cl_mem_object_type imageType) -> bool
- auto isOpenGLInteropSupported() -> bool
- auto getQueue(unsigned int i) -> cl::CommandQueue
- auto getDevice(unsigned int i) -> cl::Device
- auto getDevice(cl::CommandQueue queue) -> cl::Device
- auto getContext() -> cl::Context
- auto getPlatform() -> cl::Platform
- auto getGLContext() -> unsigned long*
- auto getName() -> std::string
- auto getPlatformVendor() -> OpenCLPlatformVendor
- auto isWritingTo3DTexturesSupported() -> bool
-
auto getRunTimeMeasurementManager() -> RuntimeMeasurementsManager::
pointer
Function documentation
int fast:: OpenCLDevice:: createProgramFromSource(std::vector<std::string> filenames,
std::string buildOptions = "")
Compile several source files together