tvm
Classes | Namespaces | Typedefs | Functions
data_type.h File Reference
#include <tvm/ffi/container/shape.h>
#include <tvm/ffi/dtype.h>
#include <tvm/runtime/base.h>
#include <tvm/runtime/logging.h>
#include <cstring>
#include <string>
#include <type_traits>
Include dependency graph for data_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::runtime::DataType
 Runtime primitive data type. More...
 
struct  tvm::ffi::TypeTraits< runtime::DataType >
 

Namespaces

 tvm
 Performance counters for profiling via the PAPI library.
 
 tvm::runtime
 
 tvm::ffi
 

Typedefs

using tvm::runtime::tvm_index_t = ffi::Shape::index_type
 
using tvm::DataType = runtime::DataType
 

Functions

int tvm::runtime::GetVectorBytes (DataType dtype)
 Get the number of bytes needed in a vector. More...
 
bool tvm::runtime::TypeMatch (DLDataType t, int code, int bits, int lanes=1)
 Check whether type matches the given spec. More...
 
bool tvm::runtime::TypeEqual (DLDataType lhs, DLDataType rhs)
 Check whether two types are equal . More...
 
std::ostream & tvm::runtime::operator<< (std::ostream &os, const DataType &dtype)