Skip to content

Commit

Permalink
Fix: Unused Cost GPUClock
Browse files Browse the repository at this point in the history
By default, unused on ROCm, for instance.
  • Loading branch information
ax3l committed Jun 14, 2023
1 parent 0e45735 commit b0a15c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/Deposition/CurrentDeposition.H
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ void doVayDepositionShapeN (const GetParticlePosition& GetPosition,
WARPX_ABORT_WITH_MESSAGE("Vay deposition not implemented in cartesian 1D geometry");
#endif

#if !defined(AMREX_USE_GPU)
#if !defined(WARPX_USE_GPUCLOCK)
amrex::ignore_unused(cost, load_balance_costs_update_algo);
#endif

Expand Down

0 comments on commit b0a15c4

Please sign in to comment.