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

[SWDEV-492880] Add ROCm path for hipRTC #3391

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

huanrwan-amd
Copy link

This fix is for #3314 .

As in the issue: "hipRTC/Comgr automatically added -I /opt/rocm/include to kernel compilations. However, this behavior is being removed, as hipRTC has no guarantees about a system ROCm installation during kernel compilation/execution."

@@ -990,7 +990,7 @@ void BuildHip(const std::string& name,
return StartsWith(s, "--std=") || StartsWith(s, "-std=");
}))
opts.push_back("-std=c++17");

opts.push_back("-I/opt/rocm/include");
Copy link
Author

@huanrwan-amd huanrwan-amd Nov 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open for suggestions: For dealing with no symbolic link to the rocm directory cases

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