Skip to content

Commit

Permalink
do not run sort, add report flops for wave equation (oneapi-src#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 authored Sep 1, 2023
1 parent 69072da commit 47c72ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/gbench/mhp/wave_equation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ static void WaveEquation_DR(benchmark::State &state) {
int n = 4000;
std::size_t nread, nwrite, nflop;
calculate_complexity(n, n, nread, nwrite, nflop);
Stats stats(state, nread, nwrite);
Stats stats(state, nread, nwrite, nflop);

auto iter_callback = [&stats]() { stats.rep(); };
for (auto _ : state) {
Expand Down
4 changes: 3 additions & 1 deletion src-python/drbench/drbench/drbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ def multi_node(base):
]
dr_filters = dr_nop2p + dr_p2p
mhp_filters = ["Stencil2D_DR", "WaveEquation_DR"]
shp_filters = ["Sort_DR"]
# too slow to run
# shp_filters = ["Sort_DR"]
shp_filters = []
reference_filters = [
"BlackScholes_Reference",
"Reduce_Reference",
Expand Down

0 comments on commit 47c72ce

Please sign in to comment.