Skip to content

Conversation

@WeiqunZhang
Copy link
Member

Move grid-stride loop out of GPU kernels. @ashesh2512 noticed performance issues with grid-stride loops on AMD GPUs in PelePhyscis's large kernels.

Thank @AlexanderSinn for the suggestion implemented in this PR.

@WeiqunZhang WeiqunZhang force-pushed the grid-stride-loop branch 2 times, most recently from 168b2c4 to f2af094 Compare October 12, 2024 18:46
Move grid-stride loop out of GPU kernels. @ashesh2512 noticed performance
issues with grid-stride loops on AMD GPUs in PelePhyscis's large kernels.

Thank @AlexanderSinn for the suggestion implemented in this PR.
@AlexanderSinn
Copy link
Member

Can you also replace the remaining blockDim.x in that file with MT or AMREX_GPU_MAX_THREADS 

@WeiqunZhang
Copy link
Member Author

Can you also replace the remaining blockDim.x in that file with MT or AMREX_GPU_MAX_THREADS

I have been thinking about going through all uses of blockDim and doing it in another PR.

@WeiqunZhang WeiqunZhang marked this pull request as ready for review October 16, 2024 17:49
@WeiqunZhang WeiqunZhang merged commit c060294 into AMReX-Codes:development Oct 23, 2024
59 checks passed
@WeiqunZhang WeiqunZhang deleted the grid-stride-loop branch October 23, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants