mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Partial support for XE_HP_SDV
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e0a50d3143
commit
96d14967ac
@@ -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()
|
||||
|
||||
44
shared/source/aub/aub_helper_xehp_plus.inl
Normal file
44
shared/source/aub/aub_helper_xehp_plus.inl
Normal 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
|
||||
Reference in New Issue
Block a user