...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::program_build_failure — A failure when building OpenCL program.
// In header: <boost/compute/exception/program_build_failure.hpp> class program_build_failure : public boost::compute::opencl_error { public: // construct/copy/destruct explicit program_build_failure(cl_int, const std::string &); ~program_build_failure(); // public member functions std::string build_log() const; };
Instances of this class are thrown when OpenCL program build fails. Extends opencl_error by saving a program build log so it can be used for testing, debugging, or logging purposes.
See Also:
program_build_failure
public
construct/copy/destructexplicit program_build_failure(cl_int error, const std::string & build_log);
Creates a new program_build_failure
exception object for error
and build_log
.
~program_build_failure();Destroys the
program_build_failure
object.