fix: allow for image array type if array size is 1 for Xe2 and later

This commit enabled the use of the array image type with array size 1
from Xe2.
Additinally, it removes two incorrect unit tests, as array size of 0 is not
correct with the OpenCL specification.

Related-To: NEO-13976
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-02-04 19:21:33 +00:00
committed by Compute-Runtime-Automation
parent c8eb085cdb
commit b8504913e3
13 changed files with 90 additions and 16 deletions

View File

@@ -13,6 +13,8 @@ namespace NEO {
using GfxFamily = XeHpgCoreFamily;
}
#include "shared/source/image/image_surface_state.inl"
#include "shared/source/image/image_surface_state_before_xe2.inl"
namespace NEO {
template class ImageSurfaceStateHelper<GfxFamily>;
} // namespace NEO