From 88bb95e70af67a8667a9d84d3ceb8ad9044f353d Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Thu, 30 Apr 2020 22:19:15 -0400 Subject: [PATCH] SWDEV-221166 - Detect support for large bar access through HIP runtime API Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f [ROCm/hip-tests commit: 9136212b5177d7dc27c842e074299d56088ddc6a] --- projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp b/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp index 14faa7671b..31a5430486 100644 --- a/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp +++ b/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp @@ -146,7 +146,8 @@ void printDeviceProp(int deviceId) { cout << setw(w1) << "maxTexture3D.width: " << props.maxTexture3D[0] << endl; cout << setw(w1) << "maxTexture3D.height: " << props.maxTexture3D[1] << endl; cout << setw(w1) << "maxTexture3D.depth: " << props.maxTexture3D[2] << endl; - + cout << setw(w1) << "isLargeBar: " << props.isLargeBar << endl; + int deviceCnt; hipGetDeviceCount(&deviceCnt); cout << setw(w1) << "peers: ";