File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -162,19 +162,19 @@ meshfields_add_exe(ElementTests test/testElement.cpp)
162162meshfields_add_exe(OmegahElementTests test /testOmegahElement.cpp)
163163meshfields_add_exe(OmegahCoordFieldTest test /testOmegahCoordField.cpp)
164164meshfields_add_exe(ExceptionTest test /testExceptions.cpp)
165- meshfields_add_exe(ControllerPerformance test /testControllerPerformance.cpp)
166165
167166if (MeshFields_USE_Cabana)
167+ meshfields_add_exe(ControllerPerformance test /testControllerPerformance.cpp)
168168 meshfields_add_exe(CabanaTests test /testCabana.cpp)
169169 test_func(CabanaTests ./CabanaTests)
170+ test_func(ControllerPerformance ./ControllerPerformance)
170171endif ()
171172
172173test_func(KokkosTests ./KokkosTests)
173174test_func(SerializationTests ./SerializationTests)
174175test_func(ElementTests ./ElementTests)
175176test_func(OmegahElementTests ./OmegahElementTests)
176177test_func(OmegahCoordFieldTest ./OmegahCoordFieldTest)
177- test_func(ControllerPerformance ./ControllerPerformance)
178178if (MeshFields_USE_EXCEPTIONS)
179179 # exception caught - no error
180180 test_func(ExceptionTest ./ExceptionTest)
Original file line number Diff line number Diff line change 1+ #include " CabanaController.hpp"
12#include " KokkosController.hpp"
23#include " MeshField.hpp"
34#include " MeshField_For.hpp"
4- #ifdef MESHFIELDS_ENABLE_CABANA
5- #include " CabanaController.hpp"
65#include " MeshField_SimdFor.hpp"
7- #endif
86#include < Kokkos_Core.hpp>
97#include < chrono>
108#include < iomanip>
@@ -27,7 +25,6 @@ int main(int argc, char **argv) {
2725 which = atoi (argv[3 ]);
2826 }
2927 Kokkos::initialize (argc, argv);
30- #ifdef MESHFIELDS_ENABLE_CABANA
3128 if (which) {
3229 double avg = 0 ;
3330 using cab = MeshField::CabanaController<ExecutionSpace, MemorySpace,
@@ -67,7 +64,6 @@ int main(int argc, char **argv) {
6764 avg = avg / runs;
6865 std::cout << std::fixed << std::setprecision (1 ) << avg << std::endl;
6966 }
70- #endif
7167 Kokkos::finalize ();
7268 return 0 ;
7369}
You can’t perform that action at this time.
0 commit comments