-
Notifications
You must be signed in to change notification settings - Fork 6
Build hostrpc with fewer includes, nogpulib #171
base: aomp11
Are you sure you want to change the base?
Conversation
Now built on various systems. The file this affects is hostrpc-amdgcn.bc, which doesn't (and need not) use anything from rocm. |
DeepCode failed to analyze this pull requestSomething went wrong despite trying multiple times, sorry about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
JC, merge this if you are ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 31-45 can be removed as well.
@@ -101,13 +101,10 @@ macro(add_openmp_library libname archname dir) | |||
-fopenmp-targets=${triple} | |||
-Xopenmp-target=${triple} | |||
-march=${GPU} | |||
-nogpulib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we can add -nogpuinc here as well to avoid looking for hip runtime.
I don't believe the includes are required, and passing -nogpulib works around failures to find an appropriate rocm install.