mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
refactor: rename mock product helper files
Related-To: NEO-7703 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5080250a64
commit
f72e1cb9cd
@@ -10,7 +10,7 @@
|
||||
#include "shared/source/helpers/preamble.h"
|
||||
#include "shared/source/indirect_heap/indirect_heap.h"
|
||||
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/raii_product_helper.h"
|
||||
#include "shared/test/common/mocks/mock_gmm_helper.h"
|
||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "shared/source/unified_memory/usm_memory_support.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/engine_descriptor_helper.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/raii_gfx_core_helper.h"
|
||||
#include "shared/test/common/helpers/raii_product_helper.h"
|
||||
#include "shared/test/common/libult/ult_command_stream_receiver.h"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_ELKHARTLAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_ICELAKE_LP;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_LAKEFIELD;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_ALDERLAKE_N;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_ALDERLAKE_P;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_ALDERLAKE_S;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,13 +1,13 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_DG1;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,13 +1,13 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
constexpr static auto gfxProduct = IGFX_ROCKETLAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_BROADWELL;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_BROXTON;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_COFFEELAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_GEMINILAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_KABYLAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_SKYLAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_UNKNOWN;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2021-2022 Intel Corporation
|
||||
# Copyright (C) 2021-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -101,8 +101,9 @@ set(neo_libult_common_SRCS_LIB_ULT
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/memory_leak_listener.h
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/memory_management.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/memory_management.h
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/mock_hw_info_config_hw.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/mock_hw_info_config_hw.h
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/mock_product_helper_hw.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/mock_product_helper_hw.h
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/mock_product_helper_hw.inl
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/sip_init.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/test_files.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/test_files.h
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_XE_HP_SDV;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_PVC;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_DG2;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr static auto gfxProduct = IGFX_METEORLAKE;
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.inl"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.inl"
|
||||
template struct MockProductHelperHw<gfxProduct>;
|
||||
} // namespace NEO
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/gfx_core_helper_tests.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/raii_product_helper.h"
|
||||
#include "shared/test/common/mocks/mock_device.h"
|
||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/test/common/fixtures/device_fixture.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/raii_product_helper.h"
|
||||
#include "shared/test/common/helpers/ult_hw_config.h"
|
||||
#include "shared/test/common/mocks/mock_device.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/default_hw_info.h"
|
||||
#include "shared/test/common/helpers/gfx_core_helper_tests.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/raii_product_helper.h"
|
||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||
#include "shared/test/common/helpers/variable_backup.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "shared/test/common/fixtures/device_fixture.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/gtest_helpers.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||
#include "shared/test/common/mocks/mock_gmm.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/unit_test/os_interface/product_helper_tests.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "shared/test/common/fixtures/device_fixture.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/helpers/gfx_core_helper_tests.h"
|
||||
#include "shared/test/common/helpers/mock_hw_info_config_hw.h"
|
||||
#include "shared/test/common/helpers/mock_product_helper_hw.h"
|
||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||
#include "shared/test/common/mocks/mock_device.h"
|
||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||
|
||||
Reference in New Issue
Block a user