Skip to content

Commit 07ac251

Browse files
Merge Pull Request #14711 from ndellingwood/Trilinos/stokhos-disable-assembly-perf
Automatically Merged using Trilinos Pull Request AutoTester PR Title: b'stokhos: disable *FadMPAssembly perf tests with new View' PR Author: ndellingwood
2 parents dbc1b91 + fdd1eff commit 07ac251

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/stokhos/test/Performance/FadMPAssembly/TestAssembly.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <iostream>
1111

12+
#ifdef KOKKOS_ENABLE_IMPL_VIEW_LEGACY
1213
// Tests
1314
#include "TestAssembly.hpp"
1415

@@ -62,10 +63,12 @@ void mainCuda(const Teuchos::RCP<const Teuchos::Comm<int> >& comm ,
6263
performance_test_driver<Storage,entry_min,entry_max,entry_step,Method>(
6364
comm, use_print, use_trials, use_nodes, check, dev_config);
6465
}
66+
#endif
6567

6668
int main(int argc, char *argv[])
6769
{
6870
bool success = true;
71+
#ifdef KOKKOS_ENABLE_IMPL_VIEW_LEGACY
6972
bool verbose = false;
7073
try {
7174

@@ -269,6 +272,7 @@ int main(int argc, char *argv[])
269272

270273
}
271274
TEUCHOS_STANDARD_CATCH_STATEMENTS(verbose, std::cerr, success);
275+
#endif
272276

273277
if (success)
274278
return 0;

packages/stokhos/test/Performance/MPAssembly/TestAssembly.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <iostream>
1111

12+
#ifdef KOKKOS_ENABLE_IMPL_VIEW_LEGACY
1213
// Tests
1314
#include "TestAssembly.hpp"
1415

@@ -60,10 +61,12 @@ void mainCuda(const Teuchos::RCP<const Teuchos::Comm<int> >& comm ,
6061
performance_test_driver<Storage,entry_min,entry_max,entry_step>(
6162
comm, use_print, use_trials, use_nodes, check, dev_config);
6263
}
64+
#endif
6365

6466
int main(int argc, char *argv[])
6567
{
6668
bool success = true;
69+
#ifdef KOKKOS_ENABLE_IMPL_VIEW_LEGACY
6770
bool verbose = false;
6871
try {
6972

@@ -261,6 +264,7 @@ int main(int argc, char *argv[])
261264

262265
}
263266
TEUCHOS_STANDARD_CATCH_STATEMENTS(verbose, std::cerr, success);
267+
#endif
264268

265269
if (success)
266270
return 0;

0 commit comments

Comments
 (0)