Skip to content

Commit

Permalink
Fix circular header file dependency
Browse files Browse the repository at this point in the history
AMReX_GpuContainers.H included AMReX_Scan.H, which in turn includes
AMReX_Gpu.H, which in turn includes AMReX_GpuContainers.H.

In this PR, AMReX_Scan.H is removed from AMReX_GpuContainers.H, because it
does not need it.
  • Loading branch information
WeiqunZhang committed Jan 26, 2024
1 parent d5cc579 commit 3f3fc79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Src/Base/AMReX_GpuContainers.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <AMReX_Vector.H>
#include <AMReX_PODVector.H>
#include <AMReX_GpuAllocators.H>
#include <AMReX_Scan.H>
#include <type_traits>

#include <numeric>
Expand Down

0 comments on commit 3f3fc79

Please sign in to comment.