2019-01-10 22:36:57 +08:00
|
|
|
/*
|
2022-04-28 01:42:40 +08:00
|
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
2019-01-10 22:36:57 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen11/hw_cmds_base.h"
|
2019-01-10 22:36:57 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
2022-07-25 23:30:11 +08:00
|
|
|
struct ICLLP : public Gen11Family {
|
2019-01-10 22:36:57 +08:00
|
|
|
static const PLATFORM platform;
|
|
|
|
static const HardwareInfo hwInfo;
|
2020-01-25 00:19:06 +08:00
|
|
|
static const uint64_t 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;
|
2020-01-25 00:19:06 +08:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig);
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2022-05-10 20:52:14 +08:00
|
|
|
static void setupHardwareInfoBase(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2019-01-10 22:36:57 +08:00
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class IcllpHw1x8x8 : public ICLLP {
|
2019-01-10 22:36:57 +08:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class IcllpHw1x4x8 : public ICLLP {
|
2019-01-10 22:36:57 +08:00
|
|
|
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;
|
|
|
|
};
|
2022-06-02 23:10:04 +08:00
|
|
|
class IcllpHw1x6x8 : public ICLLP {
|
2019-01-10 22:36:57 +08:00
|
|
|
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
|