From ec7770d433a5cbefc8852df47d6997f46e9d6440 Mon Sep 17 00:00:00 2001 From: Nathan Ellingwood Date: Thu, 9 Jan 2025 09:15:31 -0700 Subject: [PATCH] Fix -Werror in a couple wiki examples Resolves warnings error: unused parameter 'argc' [-Werror=unused-parameter] etc. --- example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp | 2 +- example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp b/example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp index b8347bb63c..f263a943d8 100644 --- a/example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp +++ b/example/wiki/blas/KokkosBlas1_wiki_rotg_rot.cpp @@ -11,7 +11,7 @@ using Vector = Kokkos::View; using ScalarView = Kokkos::View; int main(int argc, char* argv[]) { - Kokkos::initialize(); + Kokkos::initialize(argc, argv); { const int N = 10; Vector x("x", N); diff --git a/example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp b/example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp index 2760a09ab3..af77c7aa65 100644 --- a/example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp +++ b/example/wiki/blas/KokkosBlas1_wiki_rotmg_rotm.cpp @@ -12,7 +12,7 @@ using ParamView = Kokkos::View; using ScalarView = Kokkos::View; int main(int argc, char* argv[]) { - Kokkos::initialize(); + Kokkos::initialize(argc, argv); { const int N = 10; Vector x("x", N);