Skip to content

Commit

Permalink
make gpu handler constructor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Aug 7, 2024
1 parent cd3300b commit d5e4378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_GpuTypes.H
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct Handler

struct Handler
{
AMREX_GPU_HOST_DEVICE constexpr Handler (int n_active_threads = -1)
AMREX_GPU_HOST_DEVICE constexpr explicit Handler (int n_active_threads = -1)
: numActiveThreads(n_active_threads) {}

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
Expand Down

0 comments on commit d5e4378

Please sign in to comment.