14 const char*
name =
nullptr;
21 OrtMemType mem_type_ = OrtMemTypeDefault)
22 #if ((defined(__GNUC__) && __GNUC__ > 4) || defined(__clang__))
51 onnxruntime::HashCombine<std::string_view>(
name,
h);
56 std::ostringstream ostr;
57 ostr <<
"OrtMemoryInfo:["
72 left.
id == other.
id &&
std::ostream & operator<<(std::ostream &out, const OrtMemoryInfo &info)
OrtAllocatorType alloc_type
GLsizei const GLchar *const * string
__attribute__((visibility("default")))
void HashCombine(const T &value, size_t &seed)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GLuint const GLchar * name
bool operator<(const OrtMemoryInfo &other) const
std::string ToString() const
GLfloat GLfloat GLfloat GLfloat h
constexpr OrtMemoryInfo(const char *name_, OrtAllocatorType type_, OrtDevice device_=OrtDevice(), int id_=0, OrtMemType mem_type_=OrtMemTypeDefault)
size_t operator()(const OrtMemoryInfo &i) const
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
std::string ToString() const