mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

- hw_info - hw_cmds - kmd_notify_properties - completion_stamp - bxml_generator_glue Related-To: NEO-3982 Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
26 lines
766 B
C++
26 lines
766 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/hw_info.h"
|
|
|
|
namespace NEO {
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
struct EnableGfxProductHw {
|
|
typedef typename HwMapper<gfxProduct>::GfxProduct GfxProduct;
|
|
enum { gfxFamily = HwMapper<gfxProduct>::gfxFamily };
|
|
|
|
EnableGfxProductHw() {
|
|
EnableGfxFamilyHw<static_cast<GFXCORE_FAMILY>(gfxFamily)> enableFamily;
|
|
|
|
hardwarePrefix[gfxProduct] = HwMapper<gfxProduct>::abbreviation;
|
|
defaultHardwareInfoConfigTable[gfxProduct] = &GfxProduct::defaultHardwareInfoConfig;
|
|
hardwareInfoTable[gfxProduct] = &GfxProduct::hwInfo;
|
|
hardwareInfoSetup[gfxProduct] = GfxProduct::setupHardwareInfo;
|
|
}
|
|
};
|
|
} // namespace NEO
|