Skip to content

[UR][CUDA][HIP] Refactor setKernelParams #18518

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

Draft
wants to merge 11 commits into
base: sycl
Choose a base branch
from

Conversation

npmiller
Copy link
Contributor

  • Remove unused Context parameters
  • Avoid unnecessary copy in guessLocalWorkSize
  • Simplify the control flow in setKernelParams
  • Move cached properties fetching code to constructors
  • Query HIP for occupancy in guessLocalWorkSize

Opening as draft for now as it depends on: #18489

npmiller added 11 commits May 15, 2025 15:05
- Simplify the env vars check in the CUDA plugin
- Move env var checks in the device in the HIP plugin
- Remove unused Context parameters
- Avoid unnecessary copy in `guessLocalWorkSize`
- Simplify the control flow in setKernelParams
- Move cached properties fetching code to constructors
- Query HIP for occupancy in `guessLocalWorkSize`
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.

1 participant