Fixing the memchannel calculation
Change-Id: Ib5f5931cc0e1ee5b7cb356c2ede0cb951ee8c9de
This commit is contained in:
committed by
Maneesh Gupta
parent
1e886f432d
commit
36b420ce68
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user