Skip to content

Commit 497d578

Browse files
authored
remove final host view from tests and cleanup (#94)
* remove h_view from MOSAIC module data test * remove unused macros * typo * typo
1 parent 27419aa commit 497d578

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/unit-tests/TChem_Test_MOSAIC.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ void static MOSAIC_Test() {
1919

2020
const auto mmd = TChem::Impl::MosaicModelData<device_type>();
2121

22-
EXPECT_TRUE(mmd.b_mtem.h_view(0,mmd.jnh4so4,mmd.jnh4hso4) == -4.13219);
22+
auto b_mtem = mmd.b_mtem.template view<device_type>();
23+
24+
EXPECT_TRUE(b_mtem(0,mmd.jnh4so4,mmd.jnh4hso4) == -4.13219);
2325

2426
}
2527

src/verification/mosaic/fn_Po.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include "TChem_Impl_MOSAIC.hpp"
33
#include <verification.hpp>
44
#include "skywalker.hpp"
5-
#define KOKKOS_DEBUG
65

76
using device_type = typename Tines::UseThisDevice<TChem::exec_space>::type;
87
using real_type_1d_view = TChem::real_type_1d_view;

src/verification/mosaic/fnlog_gamZ.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include "TChem_Impl_MOSAIC.hpp"
33
#include <verification.hpp>
44
#include "skywalker.hpp"
5-
#define KOKKOS_DEBUG
65

76
using device_type = typename Tines::UseThisDevice<TChem::exec_space>::type;
87
using real_type_1d_view = TChem::real_type_1d_view;

0 commit comments

Comments
 (0)