kokkos-execution 0.0.1
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1#include "gtest/gtest.h"
2
3#include "Kokkos_Core.hpp"
4
6int main(int argc, char** argv) {
7 ::testing::InitGoogleTest(&argc, argv);
8
10 Kokkos::Tools::Experimental::set_request_tool_settings_callback(
11 [](const uint32_t, Kokkos::Tools::Experimental::ToolSettings* settings) -> void {
12 settings->requires_global_fencing = false;
13 });
14
15 Kokkos::initialize(argc, argv);
16
17 Kokkos::print_configuration(std::cout);
18
19 const auto code = RUN_ALL_TESTS();
20
21 Kokkos::finalize();
22
23 return code;
24}
int main(int argc, char **argv)
Entry point that will initialize both Google Test and Kokkos.
Definition main.cpp:6