Compute program object. More...
#include <compute_program.h>
Public Member Functions | |
Construction | |
ComputeProgram () | |
Constructs a null instance. More... | |
ComputeProgram (ComputeContext &cc, const std::string &source_code) | |
Constructs a compute program. More... | |
~ComputeProgram () | |
Attributes | |
bool | is_null () const |
Returns true if this object is invalid. More... | |
void | throw_if_null () const |
Throw an exception if this object is invalid. More... | |
Operations | |
void | build (const std::string &build_options="-cl-single-precision-constant -cl-mad-enable -cl-no-signed-zeros -cl-fast-relaxed-math") |
Implementation | |
class | ComputeKernel_Impl |
Compute program object.