added compiler flag for polaris

Change-Id: Ib14c14c0618982ac7b48f5bc704c04b54ff40ed9


[ROCm/hip commit: 90a71c4be4]
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2016-10-13 14:16:48 -05:00
1 tuismitheoir 252e32859e
tiomantas d06509f680
3 comhad athraithe
+10 -8

Níor tháinig aon chomhaid le do chuardach

+3
Féach ar an gComhad
@@ -119,6 +119,9 @@ if ($HIP_PLATFORM eq "hcc") {
if ($ROCM_TARGET eq "hawaii") {
$HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:7:0:1";
}
if ($ROCM_TARGET eq "polaris") {
$HIPLDFLAGS .= " -amdgpu-target=AMD:AMDGPU:8:0:3";
}
# Add trace marker library:
# TODO - once we cleanly separate the HIP API headers from HIP library headers this logic should move to CMakebuild option - apps do not need to see the marker library.