/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "ocl_igc_shared/gtpin/gtpin_ocl_interface.h" #include "runtime/gtpin/gtpin_hw_helper.h" #include "runtime/gtpin/gtpin_hw_helper.inl" namespace OCLRT { extern GTPinHwHelper *gtpinHwHelperFactory[IGFX_MAX_CORE]; typedef CNLFamily Family; static const auto gfxFamily = IGFX_GEN10_CORE; template <> uint32_t GTPinHwHelperHw::getGenVersion() { return gtpin::GTPIN_GEN_10; } template class GTPinHwHelperHw; struct GTPinEnableGen10 { GTPinEnableGen10() { gtpinHwHelperFactory[gfxFamily] = >PinHwHelperHw::get(); } }; static GTPinEnableGen10 gtpinEnable; } // namespace OCLRT