123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef BOOST_COMPUTE_EXCEPTION_NO_DEVICE_FOUND_HPP
- #define BOOST_COMPUTE_EXCEPTION_NO_DEVICE_FOUND_HPP
- #include <exception>
- namespace boost {
- namespace compute {
- class no_device_found : public std::exception
- {
- public:
-
- no_device_found() throw()
- {
- }
-
- ~no_device_found() throw()
- {
- }
-
- const char* what() const throw()
- {
- return "No OpenCL device found";
- }
- };
- }
- }
- #endif
|