Fixing the memchannel calculation

Change-Id: Ib5f5931cc0e1ee5b7cb356c2ede0cb951ee8c9de
This commit is contained in:
Jatin Chaudhary
2020-08-06 08:46:07 -04:00
committed by Maneesh Gupta
parent 1e886f432d
commit 36b420ce68
+1 -1
View File
@@ -175,7 +175,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
deviceProps.maxGridSize[2] = INT32_MAX;
deviceProps.clockRate = info.maxEngineClockFrequency_ * 1000;
deviceProps.memoryClockRate = info.maxMemoryClockFrequency_ * 1000;
deviceProps.memoryBusWidth = info.globalMemChannels_ * 32;
deviceProps.memoryBusWidth = info.globalMemChannels_;
deviceProps.totalConstMem = info.maxConstantBufferSize_;
deviceProps.major = info.gfxipVersion_ / 100;
deviceProps.minor = info.gfxipVersion_ % 100;