2019-01-10 15:36:57 +01:00
|
|
|
/*
|
2023-01-02 11:14:39 +00:00
|
|
|
* Copyright (C) 2019-2023 Intel Corporation
|
2019-01-10 15:36:57 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2023-01-03 13:25:09 +00:00
|
|
|
#include "shared/source/compiler_interface/external_functions.h"
|
2022-07-07 23:55:53 +00:00
|
|
|
#include "shared/source/gen11/hw_cmds_base.h"
|
2023-01-03 16:20:12 +00:00
|
|
|
#include "shared/source/kernel/implicit_args.h"
|
2022-07-07 23:55:53 +00:00
|
|
|
|
2023-01-24 14:29:15 +00:00
|
|
|
#include "opencl/source/gtpin/gtpin_gfx_core_helper.h"
|
|
|
|
|
#include "opencl/source/gtpin/gtpin_gfx_core_helper.inl"
|
|
|
|
|
#include "opencl/source/gtpin/gtpin_gfx_core_helper_bdw_and_later.inl"
|
2020-02-22 22:50:57 +01:00
|
|
|
|
2019-01-10 15:36:57 +01:00
|
|
|
#include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
2023-02-02 13:55:54 +00:00
|
|
|
extern GTPinGfxCoreHelperCreateFunctionType gtpinGfxCoreHelperFactory[IGFX_MAX_CORE];
|
2019-01-10 15:36:57 +01:00
|
|
|
|
2022-07-25 15:30:11 +00:00
|
|
|
typedef Gen11Family Family;
|
2019-01-10 15:36:57 +01:00
|
|
|
static const auto gfxFamily = IGFX_GEN11_CORE;
|
|
|
|
|
|
|
|
|
|
template <>
|
2023-02-01 15:00:54 +00:00
|
|
|
uint32_t GTPinGfxCoreHelperHw<Family>::getGenVersion() const {
|
2019-01-10 15:36:57 +01:00
|
|
|
return gtpin::GTPIN_GEN_11;
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-08 12:22:35 +00:00
|
|
|
template class GTPinGfxCoreHelperHw<Family>;
|
2019-01-10 15:36:57 +01:00
|
|
|
|
|
|
|
|
struct GTPinEnableGen11 {
|
|
|
|
|
GTPinEnableGen11() {
|
2023-02-02 13:55:54 +00:00
|
|
|
gtpinGfxCoreHelperFactory[gfxFamily] = GTPinGfxCoreHelperHw<Family>::create;
|
2019-01-10 15:36:57 +01:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static GTPinEnableGen11 gtpinEnable;
|
|
|
|
|
|
|
|
|
|
} // namespace NEO
|