Hide non-public symbols from library (#332)

* Hide non-public symbols from library

* Move flag outside of parallel-jobs check

[ROCm/rccl commit: 244e25d980]
Tá an tiomantas seo le fáil i:
Wenkai Du
2021-03-18 18:08:08 -07:00
tiomanta ag GitHub
tuismitheoir 052119c20a
tiomantas 260b54adb9
+1
Féach ar an gComhad
@@ -184,6 +184,7 @@ target_link_libraries(rccl PRIVATE --cuda-gpu-arch=${target})
endforeach()
if("${HIP_COMPILER}" MATCHES "clang")
target_compile_options(rccl PRIVATE -fvisibility=hidden)
foreach(target ${AMDGPU_TARGETS})
target_compile_options(rccl PRIVATE --cuda-gpu-arch=${target} PRIVATE -fgpu-rdc)
endforeach()