Repository navigation
fix(hip): fix the include of other platforms - #14371
Conversation
❌ PR Check — Action Required
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
There was a problem hiding this comment.
🟢 Approval recommended
The three focused include changes correct header lookup without identified blocking issues; CI results remain pending.
No open issues 🎉
What changed in this PR
This PR fixes NVIDIA header lookup in HIP’s platform wrappers by using angle-bracket includes instead of quoted includes.
Changes:
- Prevents the three wrappers from including themselves through local header lookup.
- Leaves AMD-specific behavior unchanged.
| File | Description |
|---|---|
projects/hip/include/hip/texture_types.h |
Uses angle brackets to locate NVIDIA texture types. |
projects/hip/include/hip/library_types.h |
Uses angle brackets to locate NVIDIA library types. |
projects/hip/include/hip/driver_types.h |
Uses angle brackets to locate NVIDIA driver types. |
Review effort: Balanced
## Motivation Change the include from quote to angled bracket. ## Technical Details Currently this does not include headers on other platforms. Changing the angled fixes it. ## Issue Tracking No JIRA is raised for this, this got highlighted via an email ## Test Plan existing test should pass. ## Test Result Awaiting CI Results ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/rocm-systems/blob/develop/CONTRIBUTING.md. [rocm-systems] ROCm/rocm-systems#14371 (commit 0032e21)
## Motivation Change the include from quote to angled bracket. ## Technical Details Currently this does not include headers on other platforms. Changing the angled fixes it. ## Issue Tracking No JIRA is raised for this, this got highlighted via an email ## Test Plan existing test should pass. ## Test Result Awaiting CI Results ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/rocm-systems/blob/develop/CONTRIBUTING.md.
TheRock Submodule Bump ActivityNewest first
|
Motivation
Change the include from quote to angled bracket.
Technical Details
Currently this does not include headers on other platforms. Changing the angled fixes it.
Issue Tracking
No JIRA is raised for this, this got highlighted via an email
Test Plan
existing test should pass.
Test Result
Awaiting CI Results
Submission Checklist