llama-cpp-turboquant/test/TestMain.cpp
Alejandro Saucedo 11b04510ea Added active log level definitions for kompute
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
2022-04-13 10:52:42 +01:00

18 lines
329 B
C++

// SPDX-License-Identifier: Apache-2.0
#include <gtest/gtest.h>
#include <kompute/Kompute.hpp>
int
main(int argc, char* argv[])
{
testing::InitGoogleTest(&argc, argv);
#if KOMPUTE_ENABLE_SPDLOG
spdlog::set_level(
static_cast<spdlog::level::level_enum>(KOMPUTE_LOG_LEVEL));
#endif
return RUN_ALL_TESTS();
}