Skip to content

Commit

Permalink
document amd gpu/cpu issue
Browse files Browse the repository at this point in the history
  • Loading branch information
multitalentloes committed Oct 30, 2024
1 parent 798f7d5 commit 964844a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions opm/simulators/linalg/gpuistl/device_management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ namespace Opm::gpuistl {

/*
* Print the device name and compute capability on every rank
If you have an AMD GPU and you have an AMD CPU you might run
into problems with this code when using multiple MPI ranks.
The simulation might hang because the integrated GPU in the CPU
is detected has Radeon compute units, but it does not support ROCM.
This is fixable my making only the GPUS on your system visible with
ROCR_VISIBLE_DEVICES environment variable.
*/
void printDevice()
{
Expand Down

0 comments on commit 964844a

Please sign in to comment.