Skip to content

Commit

Permalink
Fix block size in PermutationForDeposition (#3953)
Browse files Browse the repository at this point in the history
## Summary

Fix typo from #3925

## Additional background

## Checklist

The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate
  • Loading branch information
AlexanderSinn committed May 22, 2024
1 parent fed4bc1 commit e6c93bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Particle/AMReX_ParticleUtil.H
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ void PermutationForDeposition (Gpu::DeviceVector<index_type>& perm, index_type n
#else
// A100 has a larger L2 cache and is very sensitive to atomic add contention,
// so we use a large bock size of 1024 and not the compressed layout.
static constexpr index_type gpu_block_size = 1014;
static constexpr index_type gpu_block_size = 1024;
static constexpr bool compressed_layout = false;
#endif

Expand Down

0 comments on commit e6c93bf

Please sign in to comment.