2017-12-27 22:12:27 +08:00
|
|
|
/*
|
2020-01-25 00:19:06 +08:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2017-12-27 22:12:27 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-27 22:12:27 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 01:46:50 +08:00
|
|
|
#include "gen9/hw_cmds_base.h"
|
2017-12-27 22:12:27 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-27 22:12:27 +08:00
|
|
|
|
|
|
|
struct CFL : public SKLFamily {
|
|
|
|
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;
|
2017-12-27 22:12:27 +08:00
|
|
|
static const uint32_t threadsPerEu = 7;
|
|
|
|
static const uint32_t maxEuPerSubslice = 8;
|
|
|
|
static const uint32_t maxSlicesSupported = 3;
|
|
|
|
static const uint32_t maxSubslicesSupported = 9;
|
|
|
|
|
|
|
|
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);
|
2017-12-27 22:12:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class CFL_1x2x6 : public CFL {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CFL_1x3x6 : public CFL {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CFL_1x3x8 : public CFL {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CFL_2x3x8 : public CFL {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CFL_3x3x8 : public CFL {
|
|
|
|
public:
|
2019-03-28 22:34:26 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable);
|
2017-12-27 22:12:27 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|