Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Apr 20, 2024
1 parent e0bbaa6 commit 8b703ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/Base/AMReX_GpuDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ Device::Initialize ()

#if defined(AMREX_USE_HIP)
if (num_devices_used < 0) {
// This test is always false, but it makes the compiler no longer
// complain about unused function, amrex_check_wavefront_size.
amrex::single_task(amrex_check_wavefront_size);
}
#endif
Expand Down

0 comments on commit 8b703ca

Please sign in to comment.