openucx / ucc

Unified Collective Communication Library
https://openucx.github.io/ucc/
BSD 3-Clause "New" or "Revised" License
177 stars 85 forks source link

BUILD: fix GPU arch flags in amdclang build (#914) (v1.3.x) #917

Closed nileshnegi closed 4 months ago

nileshnegi commented 4 months ago

Signed-off-by: nileshnegi Nilesh.Negi@amd.com (cherry picked from commit c1734db1b2bc9ffeba5d17b3e81e1a9425dee100)

What

Why ?

Incompatibility between explicitly specified GPU arch flags (like --target-offload=gfx90a:xnack+) and --target-offload=native led to build errors on some AMD GPUs.

swx-jenkins3 commented 4 months ago

Can one of the admins verify this patch?