From e4827e59b1be9eab68f37580264bd1638ad293a6 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Tue, 17 Dec 2024 09:34:09 -0700 Subject: [PATCH] iamax example: printf -> iostream Signed-off-by: Carl Pearson --- example/wiki/blas/KokkosBlas1_wiki_iamax.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp b/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp index 9e2e3e42b1..382db24848 100644 --- a/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp +++ b/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -37,7 +38,7 @@ int main(int argc, char* argv[]) { } } - printf("Iamax of X: %i, Expected: %i\n", max_loc, expected_max_loc); + std::cout << "Iamax of X: " << max_loc << ", Expected: " << expected_max_loc << std::endl; } Kokkos::finalize(); }