Partial support for XE_HP_SDV

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-04-23 16:43:48 +00:00
committed by Compute-Runtime-Automation
parent e0a50d3143
commit 96d14967ac
151 changed files with 15140 additions and 41 deletions

View File

@@ -18,5 +18,12 @@ set(NEO_CORE_AUB
${CMAKE_CURRENT_SOURCE_DIR}/aub_subcapture.cpp
${CMAKE_CURRENT_SOURCE_DIR}/aub_subcapture.h
)
if(SUPPORT_XEHP_PLUS)
list(APPEND NEO_CORE_AUB
${CMAKE_CURRENT_SOURCE_DIR}/aub_helper_xehp_plus.inl
)
endif()
set_property(GLOBAL PROPERTY NEO_CORE_AUB ${NEO_CORE_AUB})
add_subdirectories()

View File

@@ -0,0 +1,44 @@
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/aub/aub_helper_base.inl"
namespace NEO {
template <typename GfxFamily>
int AubHelperHw<GfxFamily>::getDataHintForPml4Entry() const {
if (localMemoryEnabled) {
return AubMemDump::DataTypeHintValues::TracePpgttLevel4;
}
return AubMemDump::DataTypeHintValues::TraceNotype;
}
template <typename GfxFamily>
int AubHelperHw<GfxFamily>::getDataHintForPdpEntry() const {
if (localMemoryEnabled) {
return AubMemDump::DataTypeHintValues::TracePpgttLevel3;
}
return AubMemDump::DataTypeHintValues::TraceNotype;
}
template <typename GfxFamily>
int AubHelperHw<GfxFamily>::getDataHintForPdEntry() const {
if (localMemoryEnabled) {
return AubMemDump::DataTypeHintValues::TracePpgttLevel2;
}
return AubMemDump::DataTypeHintValues::TraceNotype;
}
template <typename GfxFamily>
int AubHelperHw<GfxFamily>::getDataHintForPtEntry() const {
if (localMemoryEnabled) {
return AubMemDump::DataTypeHintValues::TracePpgttLevel1;
}
return AubMemDump::DataTypeHintValues::TraceNotype;
}
} // namespace NEO