mirror of
https://github.com/sgjzfzzf/triton-tvm-ffi.git
synced 2026-07-01 08:51:56 +08:00
put typedvalues initialization into cpp
Signed-off-by: Jinjie Liu <jjliu@baai.ac.cn>
This commit is contained in:
@@ -25,6 +25,15 @@ private:
|
||||
const std::string message_;
|
||||
};
|
||||
|
||||
class UnmatchedArgumentException : public std::exception {
|
||||
public:
|
||||
UnmatchedArgumentException(std::string_view name, size_t len, size_t expect);
|
||||
const char *what() const noexcept override;
|
||||
|
||||
private:
|
||||
const std::string message_;
|
||||
};
|
||||
|
||||
class UnknownTypeException : public std::exception {
|
||||
public:
|
||||
UnknownTypeException(Type type);
|
||||
|
||||
Reference in New Issue
Block a user