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

Update CUDA occupancy calculation #3124

Merged
merged 2 commits into from
Jul 2, 2020
Merged

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Jun 22, 2020

This is a small follow-up to #3103 that does two things:

  • Take into account the actual maximum shared memory per block
  • Ensure the computed active blocks per multiprocessor does not exceed the device limit (instead of checking when we scan block sizes)

The intent is to slightly improve the accuracy of the occupancy calculation without impacting much the evaluation cost.

@dalg24 dalg24 requested a review from crtrott June 22, 2020 23:37
@crtrott crtrott merged commit eaa8323 into kokkos:develop Jul 2, 2020
@dalg24 dalg24 deleted the cuda_launch_fixup branch July 2, 2020 21:06
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