Separate the tebench benchmark from the TENT build so it can be compiled with only the classic Transfer Engine backend. - Gate the benchmark subdirectory solely on BUILD_BENCHMARK instead of also requiring USE_TENT. - Drop tent_backend.cpp from the sources and only link tent_link_group / define USE_TENT when USE_TENT is enabled; otherwise expose just the tent/include header path for the header-only helpers used by the classic backend. - Guard the TENT backend include and runner in main.cpp, returning an error when a TENT-only backend is requested in a non-TENT build. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| bench_runner.h | ||
| main.cpp | ||
| te_backend.cpp | ||
| te_backend.h | ||
| tent_backend.cpp | ||
| tent_backend.h | ||
| utils.cpp | ||
| utils.h | ||