From a43149135e104cc03e582a68060f29374d080106 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Fri, 12 May 2017 21:43:34 -0500 Subject: [PATCH] added gfx900 to hipDeviceProp_t Change-Id: I49e7a32f218926fd55f1c94c5dc2366d6c8ac4ca --- src/hip_hcc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hip_hcc.cpp b/src/hip_hcc.cpp index 12f1792c33..a655e35aa1 100644 --- a/src/hip_hcc.cpp +++ b/src/hip_hcc.cpp @@ -772,6 +772,9 @@ hipError_t ihipDevice_t::initProperties(hipDeviceProp_t* prop) if(strcmp(archName,"gfx803")==0){ prop->gcnArch = 803; } + if(strcmp(archName,"gfx900")==0){ + prop->gcnArch = 900; + } DeviceErrorCheck(err);