Files
compute-runtime/shared/source/gen12lp/image_core_gen12lp.cpp
Kamil Kopryk b8504913e3 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>
2025-02-05 13:50:05 +01:00

22 lines
449 B
C++

/*
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/gen12lp/hw_cmds.h"
#include "shared/source/image/image_surface_state.h"
namespace NEO {
using GfxFamily = Gen12LpFamily;
}
#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