2019-01-10 22:36:57 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2019-11-29 22:41:47 +08:00
|
|
|
#include "core/gen11/hw_cmds_base.h"
|
2019-01-10 22:36:57 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
struct LKF : public ICLFamily {
|
|
|
|
static const PLATFORM platform;
|
|
|
|
static const HardwareInfo hwInfo;
|
2019-10-18 16:15:09 +08:00
|
|
|
static const std::string defaultHardwareInfoConfig;
|
2019-03-28 22:34:26 +08:00
|
|
|
static FeatureTable featureTable;
|
|
|
|
static WorkaroundTable workaroundTable;
|
2019-01-10 22:36:57 +08:00
|
|
|
static const uint32_t threadsPerEu = 7;
|
|
|
|
static const uint32_t maxEuPerSubslice = 8;
|
|
|
|
static const uint32_t maxSlicesSupported = 1;
|
|
|
|
static const uint32_t maxSubslicesSupported = 8;
|
|
|
|
static const RuntimeCapabilityTable capabilityTable;
|
2019-03-28 22:34:26 +08:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const std::string &hwInfoConfig);
|
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2019-01-10 22:36:57 +08:00
|
|
|
};
|
|
|
|
class LKF_1x8x8 : public LKF {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2019-01-10 22:36:57 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace NEO
|