support typedvalue

Signed-off-by: Jinjie Liu <jjliu@baai.ac.cn>
This commit is contained in:
2026-01-29 16:46:00 +08:00
parent fecf48e403
commit 781a5396cc
15 changed files with 367 additions and 89 deletions
+12 -1
View File
@@ -1,6 +1,7 @@
#ifndef TRITON_TVM_FFI_EXCEPTION_H_
#define TRITON_TVM_FFI_EXCEPTION_H_
#include "type.h"
#include <cuda.h>
#include <exception>
@@ -12,7 +13,17 @@ public:
const char *what() const noexcept override;
private:
const CUresult code;
const CUresult code_;
};
class UnknownTypeException : public std::exception {
public:
UnknownTypeException(Type type);
UnknownTypeException(std::string_view type);
const char *what() const noexcept override;
private:
const std::string message_;
};
} // namespace triton_tvm_ffi