Struct DType
Defined in File dtype.hpp
-
struct DType
-
Public Functions
- DType(TypeId tid)
- DType(const DType &dtype) = default
- bool operator==(const DType &other) const
- TypeId type_id() const
- size_t item_size() const
- std::string name() const
- std::string type_str() const
- std::string triton_str() const
Public Static Functions
- static DType from_cudf(cudf::type_id tid)
- static DType from_numpy(const std::string &numpy_str)
- static DType from_triton(const std::string &type_str)
-
template<typename T>
static inline DType create()