From 7a20b9afe154e82ab304c770ef700534a5bd95cd Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Thu, 29 Jun 2017 12:01:40 -0500 Subject: [PATCH] automate gcnarch detection Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77 [ROCm/hip-tests commit: 98905a7272b9fbc6b0c9712cd47577962b8a17c1] --- projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp b/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp index cf4660eae7..0401745efd 100644 --- a/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp +++ b/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp @@ -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);