This patch changes the visibility for all construct in the new device
RTL to be hidden by default. This is done after the changes introduced
in D117806 changed the visibility from being hidden by default for all
device compilations. This asserts that the visibility for the device
runtime library will be hidden except for the internal environment
variable. This is done to aid optimization and linking of the device
library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG. @ronlieb rocm may need similar annotation for the old runtime, there's a macro for making variables externally accessible that would apply visibility protected to the environment and the array used by the memory allocator.
openmp/libomptarget/DeviceRTL/src/Configuration.cpp | ||
---|---|---|
29 | Protected? Don't want to preempt this one either |
openmp/libomptarget/DeviceRTL/src/Configuration.cpp | ||
---|---|---|
29 | Right, I'll change it. |
Protected? Don't want to preempt this one either