P4 to Git Change 1737265 by skudchad@skudchad_test2_win_opencl on 2019/01/29 16:13:19
SWDEV-145570 - [HIP] - Fix maxThreadsPerStreamProcessor info parameter for HIP-VDI ReviewBoardURL = http://ocltc.amd.com/reviews/r/16626/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#17 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#331 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#601 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#123 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#113 edit
Этот коммит содержится в:
@@ -158,7 +158,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.minor = info.gfxipVersion_ % 100;
|
||||
deviceProps.multiProcessorCount = info.maxComputeUnits_;
|
||||
deviceProps.l2CacheSize = info.l2CacheSize_;
|
||||
deviceProps.maxThreadsPerMultiProcessor = info.simdPerCU_;
|
||||
deviceProps.maxThreadsPerMultiProcessor = info.maxThreadsPerCU_;
|
||||
deviceProps.computeMode = 0;
|
||||
deviceProps.clockInstructionRate = info.timeStampFrequency_;
|
||||
deviceProps.arch.hasGlobalInt32Atomics = 1;
|
||||
|
||||
Ссылка в новой задаче
Block a user