[BUILD] Enable MSCCL++ for gfx942 variants (#1344)

Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
This commit is contained in:
Nilesh M Negi
2024-09-23 19:05:49 -05:00
committed by GitHub
parent 707377b3cd
commit 3c61e934f2
+2 -1
View File
@@ -287,8 +287,9 @@ if (HAVE_KERNARG_PRELOAD)
endif()
## Disable building MSCCL++ if the build environment is invalid
## Currently MSCCL++ is supported only on gfx942
if (ENABLE_MSCCLPP)
if(NOT "gfx942" IN_LIST GPU_TARGETS)
if(NOT ("gfx942" IN_LIST GPU_TARGETS OR "gfx942:xnack-" IN_LIST GPU_TARGETS OR "gfx942:xnack+" IN_LIST GPU_TARGETS))
set(ENABLE_MSCCLPP OFF)
message(WARNING "Can only build MSCCL++ for gfx942; disabling MSCCL++ build")
endif()