6 Commits

Author SHA1 Message Date
Tianqi Chen 70cfd9907d [REFACTOR][S-TIR] Minimize src/support/ by relocating s_tir-private headers (#19460) 2026-04-27 17:37:42 -04:00
Tianqi Chen a531d170b9 [REFACTOR] Phase out relay c++ components (#17660)
* cleanup relay c++

* [REFACTOR] Phase out relay c++ components

This PR phases out the relay C++ components and
simplifies the overall codegen runtime logic.

---------

Co-authored-by: Siyuan Feng <hzfengsy@sjtu.edu.cn>
2025-02-17 22:21:37 +08:00
Wuwei Lin b1712ec48c [Support] Fix StartsWith when the string is equal to the prefix (#9393) 2021-10-29 19:35:48 -04:00
Christopher Sidebottom 356879d4c3 Use CTest for C++ tests (#8809)
By using the `gtest_discover_tests` CMake macro the CPP and CRT tests can be configured to build binaries with a single test runner each. Once CTest has information about tests it can be used in IDE extensions such as [CMake Test Explorer](https://marketplace.visualstudio.com/items?itemName=fredericbonnet.cmake-test-adapter).

`ctest` can also run tests in parallel using the `-j` flag, which could be interesting in future.
2021-08-23 17:08:18 -07:00
Tristan Konolige 3ce74f00a5 [FIX] Make HashCombine stable across platforms (#7801)
* [FIX] Make HashCombine stable across platforms

PR #7605 inadvertatly broke cross platform hashing when when it switched
size_t to uint64_t. This cause a different specialization of HashCombine
to be used. Unfortunately the new specialization used std::hash which is
implementation dependent. I've added tests to make sure this doesn't
happen again.

* fix template specialization issues
2021-04-06 21:19:34 -07:00
Andrew Reusch 9b8eb81611 Add tvm::support::hexdump() debug utility (#6154) 2020-08-18 16:20:38 -07:00