mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
refactor: remove intel_hwconfig_types file from third party
remove not needed querying of vs/hs/ds/ps/gs threads Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8360d90fa3
commit
368070069e
@@ -21,7 +21,6 @@
|
||||
#include "level_zero/sysman/source/shared/linux/zes_os_sysman_imp.h"
|
||||
#include "level_zero/sysman/source/sysman_const.h"
|
||||
|
||||
#include "drm/intel_hwconfig_types.h"
|
||||
#include "igfxfmid.h"
|
||||
|
||||
namespace L0 {
|
||||
@@ -59,14 +58,14 @@ ze_result_t LinuxMemoryImp::getProperties(zes_mem_properties_t *pProperties) {
|
||||
pProperties->numChannels = memSystemInfo->getMaxMemoryChannels();
|
||||
auto memType = memSystemInfo->getMemoryType();
|
||||
switch (memType) {
|
||||
case INTEL_HWCONFIG_MEMORY_TYPE_HBM2e:
|
||||
case INTEL_HWCONFIG_MEMORY_TYPE_HBM2:
|
||||
case NEO::DeviceBlobConstants::MemoryType::hbm2e:
|
||||
case NEO::DeviceBlobConstants::MemoryType::hbm2:
|
||||
pProperties->type = ZES_MEM_TYPE_HBM;
|
||||
break;
|
||||
case INTEL_HWCONFIG_MEMORY_TYPE_LPDDR4:
|
||||
case NEO::DeviceBlobConstants::MemoryType::lpddr4:
|
||||
pProperties->type = ZES_MEM_TYPE_LPDDR4;
|
||||
break;
|
||||
case INTEL_HWCONFIG_MEMORY_TYPE_LPDDR5:
|
||||
case NEO::DeviceBlobConstants::MemoryType::lpddr5:
|
||||
pProperties->type = ZES_MEM_TYPE_LPDDR5;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#include "level_zero/sysman/source/shared/linux/sysman_fs_access_interface.h"
|
||||
#include "level_zero/sysman/source/shared/linux/zes_os_sysman_imp.h"
|
||||
|
||||
#include "drm/intel_hwconfig_types.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace L0 {
|
||||
@@ -23,7 +21,7 @@ namespace Sysman {
|
||||
|
||||
static bool isMemoryTypeHbm(LinuxSysmanImp *pLinuxSysmanImp) {
|
||||
uint32_t memType = pLinuxSysmanImp->getMemoryType();
|
||||
if (memType == INTEL_HWCONFIG_MEMORY_TYPE_HBM2e || memType == INTEL_HWCONFIG_MEMORY_TYPE_HBM2) {
|
||||
if (memType == NEO::DeviceBlobConstants::MemoryType::hbm2e || memType == NEO::DeviceBlobConstants::MemoryType::hbm2) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user