Skip to content
Snippets Groups Projects
Commit c48bc773 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Use Kokkos in tests

parent bee9dfaa
Branches
Tags
1 merge request!7Feature/itemvalue
......@@ -15,6 +15,7 @@ target_include_directories(Catch INTERFACE ${CATCH_INCLUDE_DIR})
target_link_libraries (unit_tests
PastisUtils
kokkos
Catch
)
......
#define CATCH_CONFIG_MAIN
#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include <Kokkos_Core.hpp>
int main( int argc, char* argv[] )
{
Kokkos::initialize({-1,-1,-1,true});
int result = Catch::Session().run( argc, argv );
Kokkos::finalize();
return result;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment