Files
triton/include/isaac/exception/operation_not_supported.h
Philippe Tillet cf5028d55b Squashed feature branch:
* Added CUDA support
 * Performance improvements
 * API improvements
 * Added "depth" parameter to GEMM
 * Android cross-compilation
2015-04-29 15:52:21 -04:00

25 lines
566 B
C++

#ifndef ISAAC_EXCEPTION_OPERATION_NOT_SUPPORTED_H
#define ISAAC_EXCEPTION_OPERATION_NOT_SUPPORTED_H
#include <string>
#include <exception>
namespace isaac
{
/** @brief Exception for the case the generator is unable to deal with the operation */
class operation_not_supported_exception : public std::exception
{
public:
operation_not_supported_exception();
operation_not_supported_exception(std::string message);
virtual const char* what() const throw();
virtual ~operation_not_supported_exception() throw();
private:
std::string message_;
};
}
#endif