added compiler flag for polaris

Change-Id: Ib14c14c0618982ac7b48f5bc704c04b54ff40ed9


[ROCm/hip commit: 90a71c4be4]
This commit is contained in:
Aditya Atluri committed 2016-10-13 14:16:48 -05:00
1 förälder 252e32859e
incheckning d06509f680
3 files changed
+10 -8

No files matched your search

+3
Visa fil
@@ -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.