From b1bf6de48e22d6dfc68e626fb7f0ef189ea4e2cc Mon Sep 17 00:00:00 2001 From: Aditya Avinash Atluri Date: Tue, 26 Jan 2016 10:40:06 -0500 Subject: [PATCH] Corrected compilation error [ROCm/hip-tests commit: 6e2721890a117b4b6e022c12531dd10f6dc57fe5] --- projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 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 da2ec17eca..bff2114f96 100644 --- a/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp +++ b/projects/hip-tests/samples/1_Utils/hipInfo/hipInfo.cpp @@ -82,7 +82,7 @@ void printDeviceProp (int deviceId) cout << setw(w1) << "multiProcessorCount: " << props.multiProcessorCount << endl; cout << setw(w1) << "clockRate: " << (float)props.clockRate / 1000.0 << " Mhz" << endl; cout << setw(w1) << "clockInstructionRate: " << (float)props.clockInstructionRate / 1000.0<< " Mhz" << endl; - cout << setw(w1) << "totalGlobalMem" << fixed << setprecision(2) << bytesToGB(props.totalGlobalMem) << " GB" << endl << defaultfloat; + cout << setw(w1) << "totalGlobalMem" << fixed << setprecision(2) << bytesToGB(props.totalGlobalMem) << " GB" << endl; cout << setw(w1) << "sharedMemPerBlock" << (float)props.sharedMemPerBlock / 1024.0 << " KB" << endl; cout << setw(w1) << "regsPerBlock" << props.regsPerBlock << endl;