From 08a67a522da82943615e6f63fd452506012218db Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Fri, 27 Jan 2017 08:51:48 -0600 Subject: [PATCH] fixed arch compiler flag Change-Id: I19f7a0ea513d6b8059f0c10cd0e7a5ead510e246 [ROCm/hip commit: b37422d30b4ecfcc7195cbea87ee6213edfebb1f] --- projects/hip/bin/hipcc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index 004463bc2c..e43131501c 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -131,16 +131,16 @@ if ($HIP_PLATFORM eq "hcc") { # Handle ROCm target platform if ($ROCM_TARGET eq "fiji") { - $HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:8:0:3"; + $HIPLDFLAGS .= " --amdgpu-target=gfx803"; } if ($ROCM_TARGET eq "carrizo") { - $HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:8:0:1"; + $HIPLDFLAGS .= " --amdgpu-target=gfx801"; } if ($ROCM_TARGET eq "hawaii") { - $HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:7:0:1"; + $HIPLDFLAGS .= " --amdgpu-target=gfx701"; } if ($ROCM_TARGET eq "polaris") { - $HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:8:0:3"; + $HIPLDFLAGS .= " --amdgpu-target=gfx803"; } # Add trace marker library: