ShapeFixer exception message shows that it is from which module and its
operation name.
Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
protected:
using model::OperationVisitor::visit;
-#define OP(InternalName) \
- virtual void visit(const model::operation::InternalName &) override \
- { \
- throw std::runtime_error("NYI"); \
+#define OP(InternalName) \
+ virtual void visit(const model::operation::InternalName &) override \
+ { \
+ throw std::runtime_error("KernelGenerator: NYI for operation '" #InternalName "'"); \
}
#include "model/Operations.lst"
#undef OP
}
protected:
-#define OP(InternalName) \
- virtual void visit(const model::operation::InternalName &) override \
- { \
- throw std::runtime_error("NYI"); \
+#define OP(InternalName) \
+ virtual void visit(const model::operation::InternalName &) override \
+ { \
+ throw std::runtime_error("ShapeFixer: NYI for operation '" #InternalName "'"); \
}
#include "model/Operations.lst"
#undef OP