Skip to content

Commit

Permalink
Turn off polybench kernel run for non-windows short tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 committed Aug 15, 2024
1 parent 4948225 commit 7719eb5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/test-raja-perf-suite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,21 @@ TEST(ShortSuiteTest, Basic)
sargv.emplace_back(std::string("HALO_PACKING_FUSED"));
#endif

#if (defined(RAJA_COMPILER_CLANG) && __clang_major__ == 11)
#if !defined(_WIN32)

#if ( (defined(RAJA_COMPILER_CLANG) && __clang_major__ == 11) || \
defined(RUN_RAJAPERF_SHORT_TEST) )
sargv.emplace_back(std::string("--exclude-kernels"));
#if (defined(RAJA_COMPILER_CLANG) && __clang_major__ == 11)
sargv.emplace_back(std::string("FIRST_MIN"));
#endif
#if defined(RUN_RAJAPERF_SHORT_TEST)
sargv.emplace_back(std::string("Polybench"));
#endif
#endif

#endif // !defined(_WIN32)


char *unit_test = getenv("RAJA_PERFSUITE_UNIT_TEST");
if (unit_test != NULL) {
Expand Down

0 comments on commit 7719eb5

Please sign in to comment.