mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
Moved global functions to the ImageSurfaceStateHelper class, with declarations in the header file and definitions in the base .inl file. This change reduces compilation time by: - removing unnecessary includes from the header file - adding explicit template instantiations, which are faster than implicit template instantiations. Additionally, the image_skl_and_later.inl file has been removed as it is no longer needed, and its implementation has been moved to the base .inl Related-To: NEO-12149 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
21 lines
383 B
C++
21 lines
383 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"
|
|
|
|
namespace NEO {
|
|
template class ImageSurfaceStateHelper<GfxFamily>;
|
|
} // namespace NEO
|