37 lines
791 B
C++
37 lines
791 B
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/gtpin/gtpin_hw_helper.h"
|
|
#include "opencl/source/gtpin/gtpin_hw_helper.inl"
|
|
#include "opencl/source/gtpin/gtpin_hw_helper_bdw_and_later.inl"
|
|
|
|
#include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h"
|
|
|
|
namespace NEO {
|
|
|
|
extern GTPinHwHelper *gtpinHwHelperFactory[IGFX_MAX_CORE];
|
|
|
|
typedef SKLFamily Family;
|
|
static const auto gfxFamily = IGFX_GEN9_CORE;
|
|
|
|
template <>
|
|
uint32_t GTPinHwHelperHw<Family>::getGenVersion() {
|
|
return gtpin::GTPIN_GEN_9;
|
|
}
|
|
|
|
template class GTPinHwHelperHw<Family>;
|
|
|
|
struct GTPinEnableGen9 {
|
|
GTPinEnableGen9() {
|
|
gtpinHwHelperFactory[gfxFamily] = >PinHwHelperHw<Family>::get();
|
|
}
|
|
};
|
|
|
|
static GTPinEnableGen9 gtpinEnable;
|
|
|
|
} // namespace NEO
|