P4 to Git Change 1592223 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/10 13:50:47

SWDEV-145570 - [HIP] Report clockRate in kilohertz.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#11 edit


[ROCm/hip commit: c4e3d90ba9]
このコミットが含まれているのは:
foreman
2018-08-10 14:04:43 -04:00
コミット 95764032f1
+1 -1
ファイルの表示
@@ -150,7 +150,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
deviceProps.maxGridSize[0] = UINT32_MAX;
deviceProps.maxGridSize[1] = UINT32_MAX;
deviceProps.maxGridSize[2] = UINT32_MAX;
deviceProps.clockRate = info.maxEngineClockFrequency_;
deviceProps.clockRate = info.maxEngineClockFrequency_ * 1000;
deviceProps.memoryClockRate = info.maxMemoryClockFrequency_;
deviceProps.memoryBusWidth = info.globalMemChannels_ * 32;
deviceProps.totalConstMem = info.maxConstantBufferSize_;