Signed-off-by: nileshnegi Nilesh.Negi@amd.com
(cherry picked from commit c1734db1b2bc9ffeba5d17b3e81e1a9425dee100)
What
Modified GPU architecture flags for compatibility with AMD GPUs.
Add -O3 to improve performance.
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.
Signed-off-by: nileshnegi Nilesh.Negi@amd.com (cherry picked from commit c1734db1b2bc9ffeba5d17b3e81e1a9425dee100)
What
-O3
to improve performance.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.