automate gcnarch detection

Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77


[ROCm/hip-tests commit: 98905a7272]
Bu işleme şunda yer alıyor:
Aditya Atluri
2017-06-29 12:01:40 -05:00
ebeveyn faa7417a8c
işleme 7a20b9afe1
+1
Dosyayı Görüntüle
@@ -129,6 +129,7 @@ void printDeviceProp (int deviceId)
cout << setw(w1) << "arch.hasSurfaceFuncs: " << props.arch.hasSurfaceFuncs << endl;
cout << setw(w1) << "arch.has3dGrid: " << props.arch.has3dGrid << endl;
cout << setw(w1) << "arch.hasDynamicParallelism: " << props.arch.hasDynamicParallelism << endl;
cout << setw(w1) << "gcnArch: " << props.gcnArch << endl;
int deviceCnt;
hipGetDeviceCount(&deviceCnt);