class
#include <FAST/OpenCLProgram.hpp>
OpenCLProgram
Contents
Base classes
- class Object
- Base class for all FAST objects.
Public types
- using pointer = std::shared_ptr<OpenCLProgram>
Public static functions
- static auto New() -> std::shared_ptr<OpenCLProgram>
- static auto getStaticNameOfClass() -> std::string
Constructors, destructors, conversion operators
- OpenCLProgram() protected
Public functions
- auto getNameOfClass() const -> std::string virtual
- void setName(std::string name)
- auto getName() const -> std::string
- void setSourceFilename(std::string filename)
- auto getSourceFilename() const -> std::string
- auto build(std::shared_ptr<OpenCLDevice>, std::string buildOptions = "") -> cl::Program
Protected functions
- auto buildExists(std::shared_ptr<OpenCLDevice>, std::string buildOptions = "") const -> bool
Protected variables
- std::string mName
- std::string mSourceFilename
- std::unordered_map<std::shared_ptr<OpenCLDevice>, std::map<std::string, cl::Program>> mOpenCLPrograms