Skip to content

Commit

Permalink
Merge 8ed6b2f into 7e1c1a4
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg authored Feb 8, 2023
2 parents 7e1c1a4 + 8ed6b2f commit a2bfda7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libs/pika/init_runtime/src/init_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
#include <pika/util/get_entry_as.hpp>
#include <pika/version.hpp>

#if defined(PIKA_HAVE_HIP)
#include <hip/hip_runtime.h>
#endif

#if defined(__bgq__)
#include <cstdlib>
#endif
Expand Down Expand Up @@ -492,6 +496,11 @@ namespace pika {
return -1;
}

#if defined(PIKA_HAVE_HIP)
LPROGRESS_ << "run_local: initialize HIP";
hipInit();
#endif

// Initialize and start the pika runtime.
LPROGRESS_ << "run_local: create runtime";

Expand Down

0 comments on commit a2bfda7

Please sign in to comment.