Added XNACK support (#94)
* Added xnack flags * Updated examples compile command
Esse commit está contido em:
10 files changed
+189
-82
No files matched your search
@@ -78,15 +78,14 @@ if (BUILD_TESTS_ONLY)
|
||||
)
|
||||
|
||||
foreach (target ${DEFAULT_GPUS})
|
||||
list(APPEND static_link_flags --offload-arch=${target})
|
||||
list(APPEND offload_flags --offload-arch=${target})
|
||||
endforeach()
|
||||
list(JOIN static_link_flags " " flags_str)
|
||||
|
||||
target_compile_options(
|
||||
${TESTS_NAME}
|
||||
PRIVATE
|
||||
${flags_str}
|
||||
-fgpu-rdc
|
||||
${offload_flags}
|
||||
-fgpu-rdc
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
@@ -94,7 +93,7 @@ if (BUILD_TESTS_ONLY)
|
||||
PRIVATE
|
||||
${MPI_mpi_LIBRARY}
|
||||
${MPI_mpicxx_LIBRARY}
|
||||
${flags_str}
|
||||
${offload_flags}
|
||||
-L${ROCSHMEM_HOME}/lib
|
||||
-lamdhip64
|
||||
-lhsa-runtime64
|
||||
|
||||
Reference in new issue
Bloquear um usuário