...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::no_device_found — Exception thrown when no OpenCL device is found.
// In header: <boost/compute/exception/no_device_found.hpp> class no_device_found : public std::exception { public: // public member functions no_device_found(); ~no_device_found(); const char * what() const; };
This exception is thrown when no valid OpenCL device can be found.
See Also: opencl_error
no_device_found
public member functionsno_device_found();Creates a new no_device_found exception object.
~no_device_found();Destroys the no_device_found exception object.
const char * what() const;Returns a string containing a human-readable error message.