Corrected compilation error

[ROCm/hip-tests commit: 6e2721890a]
This commit is contained in:
Aditya Avinash Atluri
2016-01-26 10:40:06 -05:00
parent d49392904a
commit b1bf6de48e
@@ -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;