mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Change AOT enums type & use forward declaration
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ae61f0368a
commit
5745c3d99d
@@ -13,6 +13,8 @@
|
||||
#include "shared/source/os_interface/linux/drm_neo.h"
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_BROXTON;
|
||||
|
||||
@@ -44,7 +46,7 @@ int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OS
|
||||
if (retVal == 0 && ((num == 3) || (num == 6) || (num == 9))) {
|
||||
gtSystemInfo->EuCountPerPoolMin = static_cast<uint32_t>(num);
|
||||
}
|
||||
//in case of failure or not getting right values, fallback to default
|
||||
// in case of failure or not getting right values, fallback to default
|
||||
else {
|
||||
if (gtSystemInfo->SubSliceCount == 3) {
|
||||
// Native 3x6, PooledEU 2x9
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "shared/source/os_interface/hw_info_config.inl"
|
||||
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_COFFEELAKE;
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
#include "shared/source/os_interface/linux/drm_neo.h"
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_GEMINILAKE;
|
||||
|
||||
@@ -42,7 +44,7 @@ int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OS
|
||||
if (retVal == 0 && ((num == 3) || (num == 6) || (num == 9))) {
|
||||
gtSystemInfo->EuCountPerPoolMin = static_cast<uint32_t>(num);
|
||||
}
|
||||
//in case of failure or not getting right values, fallback to default
|
||||
// in case of failure or not getting right values, fallback to default
|
||||
else {
|
||||
if (gtSystemInfo->SubSliceCount == 3) {
|
||||
// Native 3x6, PooledEU 2x9
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "shared/source/os_interface/hw_info_config.inl"
|
||||
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
||||
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_KABYLAKE;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
||||
|
||||
#include "hw_cmds.h"
|
||||
#include "platforms.h"
|
||||
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_SKYLAKE;
|
||||
|
||||
Reference in New Issue
Block a user