mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
36 lines
719 B
C++
36 lines
719 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/gtpin/gtpin_hw_helper.h"
|
|
#include "runtime/gtpin/gtpin_hw_helper.inl"
|
|
|
|
#include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h"
|
|
|
|
namespace NEO {
|
|
|
|
extern GTPinHwHelper *gtpinHwHelperFactory[IGFX_MAX_CORE];
|
|
|
|
typedef CNLFamily Family;
|
|
static const auto gfxFamily = IGFX_GEN10_CORE;
|
|
|
|
template <>
|
|
uint32_t GTPinHwHelperHw<Family>::getGenVersion() {
|
|
return gtpin::GTPIN_GEN_10;
|
|
}
|
|
|
|
template class GTPinHwHelperHw<Family>;
|
|
|
|
struct GTPinEnableGen10 {
|
|
GTPinEnableGen10() {
|
|
gtpinHwHelperFactory[gfxFamily] = >PinHwHelperHw<Family>::get();
|
|
}
|
|
};
|
|
|
|
static GTPinEnableGen10 gtpinEnable;
|
|
|
|
} // namespace NEO
|