/* Copyright © Advanced Micro Devices, Inc., or its affiliates. SPDX-License-Identifier: MIT */ #include #include #include #include #include int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); // Register HipErrorHandler to check and clear HIP errors after each test testing::TestEventListeners& listeners = testing::UnitTest::GetInstance()->listeners(); listeners.Append(new hipdnn_test_sdk::utilities::HipErrorHandler); auto result = RUN_ALL_TESTS(); return result; }