Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multiple occupancy paths for various HIP kernel launchers #3366

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

masterleinad
Copy link
Contributor

Cleaned version of #3300:

Ensure that the occupancy checked in Kokkos_HIP_BlockSize_Deduction.hpp matches the kernel launcher used in Kokkos_HIP_KernelLaunch.hpp, i.e., hip_parallel_launch_local_memory. Previously, if the occupancy was determined for the constant launcher, subtle launch-time resource utilization bugs could be introduced (e.g., not enough LDS for the scatchpad) due to minor differences in the kernels.

@dalg24 dalg24 merged commit 20752da into kokkos:develop Sep 9, 2020
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.

None yet

2 participants