SWDEV-254181 - Fix ocl min_max_image_buffer_size regression.
ROCr is now reporting the actual HW addressing limits for HIP, so OpenCL will have to impose lower limit.
Change-Id: I60c2ce27ed1d1f45f16fb76438965a236ba872c6
[ROCm/clr commit: 1da0fe4263]
This commit is contained in:
@@ -1363,7 +1363,7 @@ bool Device::populateOCLDeviceConstants() {
|
||||
&image_max_dim)) {
|
||||
return false;
|
||||
}
|
||||
info_.imageMaxBufferSize_ = image_max_dim[0];
|
||||
info_.imageMaxBufferSize_ = (amd::IS_HIP) ? image_max_dim[0] : (1 << 27);
|
||||
|
||||
info_.imagePitchAlignment_ = 256;
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user