From e8dd918e89d2f063255fa126c827965260cd5ebd Mon Sep 17 00:00:00 2001 From: Jennifer Loe Date: Thu, 7 Apr 2022 10:48:48 -0600 Subject: [PATCH] Fix unused parameter warnings. --- perf_test/blas/blas3/KokkosBlas3_gemm_perf_test.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perf_test/blas/blas3/KokkosBlas3_gemm_perf_test.hpp b/perf_test/blas/blas3/KokkosBlas3_gemm_perf_test.hpp index b9cff5e5e4..2d87567c6f 100644 --- a/perf_test/blas/blas3/KokkosBlas3_gemm_perf_test.hpp +++ b/perf_test/blas/blas3/KokkosBlas3_gemm_perf_test.hpp @@ -1775,6 +1775,11 @@ static inline void __gemm_copy_simd_view_to_3d_view(gemm_simd_args_t src, Kokkos::deep_copy(dst, h_dst); Kokkos::fence(); #else + // Avoid unused parameter warnings: + (void)src; + (void)dst; + (void)options; + Kokkos::abort( "Cannot perform simd verification with cuda/10.2.2, rerun with -v 0"); #endif // #if (CUDA_VERSION != 10020)