Skip to content

Commit 06d22cb

Browse files
authored
Remove KokkosBlas_dot_mv_perf_test (kokkos#2548)
* Add DefaultHostExecutionSpace dot perf_test Signed-off-by: Carl Pearson <[email protected]> * Remove KokkosBlas_dot_mv_perf_test Duplicates functionality in benchmark-based perf test Signed-off-by: Carl Pearson <[email protected]> --------- Signed-off-by: Carl Pearson <[email protected]>
1 parent 5cd2c22 commit 06d22cb

File tree

3 files changed

+8
-233
lines changed

3 files changed

+8
-233
lines changed

perf_test/blas/blas1/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ KOKKOSKERNELS_ADD_EXECUTABLE(
77
KOKKOSKERNELS_ADD_EXECUTABLE(
88
KokkosBlas_dot_perf_test SOURCES KokkosBlas_dot_perf_test.cpp)
99

10-
KOKKOSKERNELS_ADD_EXECUTABLE(
11-
KokkosBlas_dot_mv_perf_test SOURCES KokkosBlas_dot_mv_perf_test.cpp)
12-
1310
KOKKOSKERNELS_ADD_EXECUTABLE(
1411
KokkosBlas_team_dot_perf_test SOURCES KokkosBlas_team_dot_perf_test.cpp)

perf_test/blas/blas1/KokkosBlas_dot_mv_perf_test.cpp

Lines changed: 0 additions & 229 deletions
This file was deleted.

perf_test/blas/blas1/KokkosBlas_dot_mv_perf_test_benchmark.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,15 @@ static void run(benchmark::State& state) {
111111
state.counters["FLOPS"] = benchmark::Counter(totalFlop, benchmark::Counter::kIsRate);
112112
}
113113

114+
BENCHMARK(run<Kokkos::DefaultHostExecutionSpace>)
115+
->Name("KokkosBlas_dot_mv<DefaultHostExecutionSpace>")
116+
->Unit(benchmark::kMicrosecond)
117+
->UseRealTime()
118+
->ArgNames({"m", "n"})
119+
->ArgsProduct({benchmark::CreateRange(100000, 100000000, 10), benchmark::CreateRange(5, 5, 1)});
120+
114121
BENCHMARK(run<Kokkos::DefaultExecutionSpace>)
115-
->Name("KokkosBlas_dot_mv")
122+
->Name("KokkosBlas_dot_mv<DefaultExecutionSpace>")
116123
->Unit(benchmark::kMicrosecond)
117124
->UseRealTime()
118125
->ArgNames({"m", "n"})

0 commit comments

Comments
 (0)