P4 to Git Change 1979479 by cpaquot@cpaquot-ocl-lc-lnx on 2019/08/07 11:25:59
SWDEV-198424 - [HIP] Implemented missing fields for hipGetDeviceAttribute.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#17 edit
[ROCm/clr commit: 2f761998c3]
Šī revīzija ir iekļauta:
@@ -195,6 +195,15 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.cooperativeLaunch = info.cooperativeGroups_;
|
||||
deviceProps.cooperativeMultiDeviceLaunch = info.cooperativeMultiDeviceGroups_;
|
||||
|
||||
deviceProps.maxTexture1D = info.imageMaxBufferSize_;
|
||||
deviceProps.maxTexture2D[0] = info.image2DMaxWidth_;
|
||||
deviceProps.maxTexture2D[1] = info.image2DMaxHeight_;
|
||||
deviceProps.maxTexture3D[0] = info.image3DMaxWidth_;
|
||||
deviceProps.maxTexture3D[1] = info.image3DMaxHeight_;
|
||||
deviceProps.maxTexture3D[2] = info.image3DMaxDepth_;
|
||||
deviceProps.hdpMemFlushCntl = nullptr;
|
||||
deviceProps.hdpRegFlushCntl = nullptr;
|
||||
|
||||
*props = deviceProps;
|
||||
HIP_RETURN(hipSuccess);
|
||||
}
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user