added gfx900 to hipDeviceProp_t

Change-Id: I49e7a32f218926fd55f1c94c5dc2366d6c8ac4ca
此提交包含在:
Aditya Atluri committed 2017-05-12 21:43:34 -05:00
1 父節點 0679831384
當前提交 a43149135e
1 file changed
+3
+3
查看文件
@@ -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);