P4 to Git Change 1076147 by rili@rili_opencl_stg on 2014/09/11 17:44:11
EPR #405753 - Fixed incorrect value of slicePitch returned from clEnqueueMapimage for 1Darray.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#111 edit
[ROCm/clr commit: edb288692d]
이 커밋은 다음에 포함됨:
@@ -1355,8 +1355,12 @@ Image::allocMapTarget(
|
||||
|
||||
// Update the row and slice pitches value
|
||||
*rowPitch = region[0] * elementSize();
|
||||
slicePitchTmp = *rowPitch * region[1];
|
||||
|
||||
if (cal()->dimension_ == GSL_MOA_TEXTURE_1D_ARRAY) {
|
||||
slicePitchTmp = *rowPitch ;
|
||||
}
|
||||
else {
|
||||
slicePitchTmp = *rowPitch * region[1];
|
||||
}
|
||||
// Use start of the indirect buffer
|
||||
offset = 0;
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단