hw_cmds.h for XE refactor

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2022-06-30 09:04:47 +00:00
committed by Compute-Runtime-Automation
parent cbe8b8531d
commit 2b9827ad7d
42 changed files with 51 additions and 44 deletions

View File

@@ -6,4 +6,6 @@
if(SUPPORT_XE_HPC_CORE)
add_subdirectories()
set_property(GLOBAL APPEND PROPERTY NEO_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}")
endif()

View File

@@ -7,7 +7,7 @@
#include "shared/source/aub/aub_helper_xehp_and_later.inl"
#include "shared/source/aub_mem_dump/aub_mem_dump.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {
struct XE_HPC_COREFamily;

View File

@@ -13,7 +13,7 @@
#include "shared/source/helpers/constants.h"
#include "shared/source/kernel/grf_config.h"
#include "shared/source/utilities/lookup_array.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
using Family = NEO::XE_HPC_COREFamily;

View File

@@ -7,7 +7,7 @@
#pragma once
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
#ifdef SUPPORT_PVC
#include "hw_cmds_pvc.h"

View File

@@ -6,7 +6,7 @@
*/
#pragma once
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
#include "device_ids_configs_pvc.h"

View File

@@ -1,12 +1,12 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/image/image_surface_state.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {

View File

@@ -9,7 +9,7 @@
#include "shared/source/command_container/implicit_scaling_xehp_and_later.inl"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {

View File

@@ -7,7 +7,7 @@
#include "shared/source/command_stream/preemption.h"
#include "shared/source/command_stream/preemption.inl"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {

View File

@@ -8,7 +8,7 @@
#include "shared/source/command_stream/command_stream_receiver_with_aub_dump.inl"
#include "shared/source/os_interface/windows/device_command_stream.inl"
#include "shared/source/os_interface/windows/wddm_device_command_stream.inl"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {

View File

@@ -13,7 +13,7 @@
#include "shared/source/direct_submission/dispatchers/dispatcher.inl"
#include "shared/source/direct_submission/dispatchers/render_dispatcher.inl"
#include "shared/source/direct_submission/windows/wddm_direct_submission.inl"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {
using GfxFamily = XE_HPC_COREFamily;

View File

@@ -6,7 +6,7 @@
*/
#include "shared/source/helpers/windows/gmm_callbacks_tgllp_and_later.inl"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
namespace NEO {

View File

@@ -1,9 +1,11 @@
#
# Copyright (C) 2021 Intel Corporation
# Copyright (C) 2021-2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(SUPPORT_XE_HPG_CORE)
add_subdirectories()
set_property(GLOBAL APPEND PROPERTY NEO_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}")
endif()

View File

@@ -7,7 +7,7 @@
#include "shared/source/aub/aub_helper_xehp_and_later.inl"
#include "shared/source/aub_mem_dump/aub_mem_dump.h"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {
struct XE_HPG_COREFamily;

View File

@@ -12,7 +12,7 @@
#include "shared/source/command_stream/stream_properties.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/utilities/lookup_array.h"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
using Family = NEO::XE_HPG_COREFamily;

View File

@@ -1,12 +1,12 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
#ifdef SUPPORT_DG2
#include "hw_cmds_dg2.h"

View File

@@ -6,7 +6,7 @@
*/
#pragma once
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
#include "device_ids_configs_dg2.h"

View File

@@ -6,7 +6,7 @@
*/
#include "shared/source/image/image_surface_state.h"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {

View File

@@ -7,7 +7,7 @@
#include "shared/source/command_container/implicit_scaling.h"
#include "shared/source/command_container/implicit_scaling_xehp_and_later.inl"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {

View File

@@ -7,7 +7,7 @@
#include "shared/source/command_stream/preemption.h"
#include "shared/source/command_stream/preemption.inl"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {

View File

@@ -8,7 +8,7 @@
#include "shared/source/command_stream/command_stream_receiver_with_aub_dump.inl"
#include "shared/source/os_interface/windows/device_command_stream.inl"
#include "shared/source/os_interface/windows/wddm_device_command_stream.inl"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {

View File

@@ -13,7 +13,7 @@
#include "shared/source/direct_submission/dispatchers/dispatcher.inl"
#include "shared/source/direct_submission/dispatchers/render_dispatcher.inl"
#include "shared/source/direct_submission/windows/wddm_direct_submission.inl"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {
using GfxFamily = XE_HPG_COREFamily;

View File

@@ -6,7 +6,7 @@
*/
#include "shared/source/helpers/windows/gmm_callbacks_tgllp_and_later.inl"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
namespace NEO {

View File

@@ -5,7 +5,7 @@
*
*/
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@@ -6,7 +6,7 @@
*/
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
#include "shared/test/common/fixtures/product_config_fixture.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "shared/test/common/test_macros/test.h"

View File

@@ -6,7 +6,7 @@
*/
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
#include "shared/test/common/fixtures/product_config_fixture.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "shared/test/common/test_macros/test.h"

View File

@@ -5,7 +5,7 @@
*
*/
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;

View File

@@ -7,7 +7,7 @@
#include "shared/source/command_container/command_encoder.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/xe_hpg_core/hw_cmds_base.h"
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "shared/test/common/helpers/variable_backup.h"
#include "shared/test/common/test_macros/test.h"