mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
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>
23 lines
685 B
C++
23 lines
685 B
C++
/*
|
|
* Copyright (C) 2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/command_container/encode_surface_state.h"
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
#include "shared/source/gmm_helper/gmm.h"
|
|
#include "shared/source/gmm_helper/gmm_helper.h"
|
|
#include "shared/source/gmm_helper/resource_info.h"
|
|
#include "shared/source/helpers/basic_math.h"
|
|
#include "shared/source/helpers/surface_format_info.h"
|
|
#include "shared/source/image/image_surface_state.h"
|
|
|
|
namespace NEO {
|
|
template <typename GfxFamily>
|
|
bool ImageSurfaceStateHelper<GfxFamily>::imageAsArrayWithArraySizeOf1NotPreferred() {
|
|
return true;
|
|
}
|
|
|
|
} // namespace NEO
|