Skip to content

Commit

Permalink
fix(init): fix tests to match new function prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
dssgabriel committed Jun 14, 2024
1 parent ba1a3da commit e074e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion perf_tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class NullReporter : public ::benchmark::BenchmarkReporter {
// The main is rewritten to allow for MPI initializing and for selecting a
// reporter according to the process rank
int main(int argc, char **argv) {
KokkosComm::initialize(argc, &argv);
KokkosComm::initialize(argc, argv);

::benchmark::Initialize(&argc, argv);

Expand Down
2 changes: 1 addition & 1 deletion unit_tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
// Intialize google test
::testing::InitGoogleTest(&argc, argv);

KokkosComm::initialize(argc, &argv);
KokkosComm::initialize(argc, argv);

int rank, size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down

0 comments on commit e074e47

Please sign in to comment.