Enable kernarg preloading for ROCm 6.1 (#1068)
Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
This commit is contained in:
+1
-1
@@ -635,7 +635,7 @@ else()
|
||||
message(STATUS "Building shared RCCL library")
|
||||
endif()
|
||||
if (HAVE_KERNARG_PRELOAD)
|
||||
target_link_options(rccl PRIVATE -mllvm --amdgpu-kernarg-preload-count=16)
|
||||
target_link_options(rccl PRIVATE -Xoffload-linker -mllvm=-amdgpu-kernarg-preload-count=16)
|
||||
endif()
|
||||
|
||||
target_link_libraries(rccl PRIVATE Threads::Threads)
|
||||
|
||||
مرجع در شماره جدید
Block a user