2019-01-10 15:36:57 +01:00
|
|
|
/*
|
2021-05-16 20:51:16 +02:00
|
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
2019-01-10 15:36:57 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-23 22:44:01 +01:00
|
|
|
#include "shared/source/gen11/hw_cmds_base.h"
|
2019-01-10 15:36:57 +01:00
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
|
|
struct ICLLP : public ICLFamily {
|
|
|
|
|
static const PLATFORM platform;
|
|
|
|
|
static const HardwareInfo hwInfo;
|
2020-01-24 17:19:06 +01:00
|
|
|
static const uint64_t defaultHardwareInfoConfig;
|
2019-03-28 15:34:26 +01:00
|
|
|
static FeatureTable featureTable;
|
|
|
|
|
static WorkaroundTable workaroundTable;
|
2019-01-10 15:36:57 +01: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-24 17:19:06 +01:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig);
|
2019-03-28 15:34:26 +01:00
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2019-01-10 15:36:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class ICLLP_1x8x8 : public ICLLP {
|
|
|
|
|
public:
|
2019-03-28 15:34:26 +01:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2019-01-10 15:36:57 +01:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class ICLLP_1x4x8 : public ICLLP {
|
|
|
|
|
public:
|
2019-03-28 15:34:26 +01:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2019-01-10 15:36:57 +01:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
|
};
|
|
|
|
|
class ICLLP_1x6x8 : public ICLLP {
|
|
|
|
|
public:
|
2019-03-28 15:34:26 +01:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2019-01-10 15:36:57 +01:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace NEO
|