Skip to content

Commit

Permalink
iamax example: printf -> iostream
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Pearson <[email protected]>
  • Loading branch information
cwpearson committed Dec 17, 2024
1 parent fd0dd9a commit e4827e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/wiki/blas/KokkosBlas1_wiki_iamax.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <iostream>
#include <Kokkos_Core.hpp>
#include <Kokkos_Random.hpp>
#include <KokkosBlas1_iamax.hpp>
Expand Down Expand Up @@ -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();
}

0 comments on commit e4827e5

Please sign in to comment.