Files
compute-runtime/runtime/gen9/gtpin_setup_gen9.cpp
Artur Harasimiuk 40146291ad Update copyright headers
Updating files modified in 2018 only. Older files remain with old style
copyright header

Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00

35 lines
712 B
C++

/*
* Copyright (C) 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 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] = &GTPinHwHelperHw<Family>::get();
}
};
static GTPinEnableGen9 gtpinEnable;
} // namespace OCLRT