mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
refactor: introducing igfxfmid_wrapper
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ca3079f263
commit
46c60290b9
@@ -51,6 +51,8 @@ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
|
|||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/sse2neon)
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/sse2neon)
|
||||||
set(DISABLE_WDDM_LINUX TRUE)
|
set(DISABLE_WDDM_LINUX TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/shared/source/gmm_helper/igfxfmid_wrapper/${BRANCH_DIR_SUFFIX}")
|
||||||
|
|
||||||
message(STATUS "Host processor: ${CMAKE_HOST_SYSTEM_PROCESSOR}")
|
message(STATUS "Host processor: ${CMAKE_HOST_SYSTEM_PROCESSOR}")
|
||||||
message(STATUS "Target processor: ${CMAKE_SYSTEM_PROCESSOR}")
|
message(STATUS "Target processor: ${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
message(STATUS "Neo target processor: ${NEO_TARGET_PROCESSOR}")
|
message(STATUS "Neo target processor: ${NEO_TARGET_PROCESSOR}")
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "level_zero/core/source/cmdlist/cmdlist_imp.h"
|
#include "level_zero/core/source/cmdlist/cmdlist_imp.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
enum class MemoryPool;
|
enum class MemoryPool;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "encode_dispatch_kernel_args_ext.h"
|
#include "encode_dispatch_kernel_args_ext.h"
|
||||||
#include "encode_surface_state_args.h"
|
#include "encode_surface_state_args.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@
|
|||||||
#include "level_zero/core/source/helpers/properties_parser.h"
|
#include "level_zero/core/source/helpers/properties_parser.h"
|
||||||
#include "level_zero/tools/source/metrics/metric.h"
|
#include "level_zero/tools/source/metrics/metric.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
|
||||||
#include "log_manager.h"
|
#include "log_manager.h"
|
||||||
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include "level_zero/core/source/helpers/properties_parser.h"
|
#include "level_zero/core/source/helpers/properties_parser.h"
|
||||||
#include "level_zero/core/source/kernel/kernel.h"
|
#include "level_zero/core/source/kernel/kernel.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.h"
|
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.inl"
|
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.inl"
|
||||||
#include "level_zero/core/source/cmdqueue/cmdqueue_hw_skl_to_tgllp.inl"
|
#include "level_zero/core/source/cmdqueue/cmdqueue_hw_skl_to_tgllp.inl"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
template struct CommandQueueHw<IGFX_GEN12LP_CORE>;
|
template struct CommandQueueHw<IGFX_GEN12LP_CORE>;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.inl"
|
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.inl"
|
||||||
#include "level_zero/core/source/cmdqueue/cmdqueue_hw_skl_to_tgllp.inl"
|
#include "level_zero/core/source/cmdqueue/cmdqueue_hw_skl_to_tgllp.inl"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
template struct CommandQueueHw<IGFX_GEN12LP_CORE>;
|
template struct CommandQueueHw<IGFX_GEN12LP_CORE>;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include <level_zero/ze_api.h>
|
#include <level_zero/ze_api.h>
|
||||||
#include <level_zero/zet_api.h>
|
#include <level_zero/zet_api.h>
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "level_zero/core/source/driver/driver_handle_imp.h"
|
#include "level_zero/core/source/driver/driver_handle_imp.h"
|
||||||
#include "level_zero/core/source/image/image_formats.h"
|
#include "level_zero/core/source/image/image_formats.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
ImageAllocatorFn imageFactory[IGFX_MAX_PRODUCT] = {};
|
ImageAllocatorFn imageFactory[IGFX_MAX_PRODUCT] = {};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2021 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include "level_zero/core/source/kernel/kernel.h"
|
#include "level_zero/core/source/kernel/kernel.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#include "level_zero/core/source/module/module.h"
|
#include "level_zero/core/source/module/module.h"
|
||||||
|
|
||||||
#include "encode_surface_state_args.h"
|
#include "encode_surface_state_args.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "level_zero/core/source/kernel/kernel.h"
|
#include "level_zero/core/source/kernel/kernel.h"
|
||||||
#include "level_zero/core/source/module/module.h"
|
#include "level_zero/core/source/module/module.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include "level_zero/sysman/source/shared/linux/sysman_fs_access_interface.h"
|
#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 "level_zero/sysman/source/shared/linux/zes_os_sysman_imp.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "level_zero/sysman/source/api/frequency/sysman_frequency_imp.h"
|
#include "level_zero/sysman/source/api/frequency/sysman_frequency_imp.h"
|
||||||
#include "level_zero/sysman/source/api/frequency/sysman_os_frequency.h"
|
#include "level_zero/sysman/source/api/frequency/sysman_os_frequency.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
namespace Sysman {
|
namespace Sysman {
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "level_zero/sysman/source/api/temperature/sysman_os_temperature.h"
|
#include "level_zero/sysman/source/api/temperature/sysman_os_temperature.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <level_zero/zes_api.h>
|
#include <level_zero/zes_api.h>
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include <level_zero/ze_api.h>
|
#include <level_zero/ze_api.h>
|
||||||
#include <level_zero/zes_api.h>
|
#include <level_zero/zes_api.h>
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include <level_zero/ze_api.h>
|
#include <level_zero/ze_api.h>
|
||||||
#include <level_zero/zes_api.h>
|
#include <level_zero/zes_api.h>
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "level_zero/sysman/source/shared/linux/sysman_fs_access_interface.h"
|
#include "level_zero/sysman/source/shared/linux/sysman_fs_access_interface.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
namespace Sysman {
|
namespace Sysman {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2022-2024 Intel Corporation
|
* Copyright (C) 2022-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include "level_zero/tools/source/sysman/linux/os_sysman_imp.h"
|
#include "level_zero/tools/source/sysman/linux/os_sysman_imp.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "level_zero/tools/source/sysman/linux/os_sysman_imp.h"
|
#include "level_zero/tools/source/sysman/linux/os_sysman_imp.h"
|
||||||
#include "level_zero/tools/source/sysman/sysman_const.h"
|
#include "level_zero/tools/source/sysman/sysman_const.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace L0 {
|
namespace L0 {
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "level_zero/tools/source/sysman/linux/fs_access.h"
|
#include "level_zero/tools/source/sysman/linux/fs_access.h"
|
||||||
#include "level_zero/tools/source/sysman/power/os_power.h"
|
#include "level_zero/tools/source/sysman/power/os_power.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "level_zero/tools/source/sysman/temperature/os_temperature.h"
|
#include "level_zero/tools/source/sysman/temperature/os_temperature.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
#include "level_zero/tools/test/unit_tests/sources/sysman/linux/mock_sysman_fixture.h"
|
#include "level_zero/tools/test/unit_tests/sources/sysman/linux/mock_sysman_fixture.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "opencl/source/cl_device/cl_device_info.h"
|
#include "opencl/source/cl_device/cl_device_info.h"
|
||||||
#include "opencl/source/helpers/base_object.h"
|
#include "opencl/source/helpers/base_object.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2023 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "opencl/extensions/public/cl_ext_private.h"
|
#include "opencl/extensions/public/cl_ext_private.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2024 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
#include "opencl/extensions/public/cl_ext_private.h"
|
#include "opencl/extensions/public/cl_ext_private.h"
|
||||||
#include "opencl/source/mem_obj/mem_obj.h"
|
#include "opencl/source/mem_obj/mem_obj.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
|
||||||
#include "memory_properties_flags.h"
|
#include "memory_properties_flags.h"
|
||||||
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#include "opencl/source/mem_obj/mem_obj_helper.h"
|
#include "opencl/source/mem_obj/mem_obj_helper.h"
|
||||||
#include "opencl/source/sharings/unified/unified_image.h"
|
#include "opencl/source/sharings/unified/unified_image.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2024 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
#include "opencl/test/unit_test/mocks/mock_context.h"
|
#include "opencl/test/unit_test/mocks/mock_context.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
extern GFXCORE_FAMILY renderCoreFamily;
|
extern GFXCORE_FAMILY renderCoreFamily;
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "igad.h"
|
#include "igad.h"
|
||||||
#include "igfxfmid.h"
|
|
||||||
#include "mock/mock_decoder.h"
|
#include "mock/mock_decoder.h"
|
||||||
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "opencl/test/unit_test/offline_compiler/decoder/mock/mock_zebin_encoder.h"
|
#include "opencl/test/unit_test/offline_compiler/decoder/mock/mock_zebin_encoder.h"
|
||||||
#include "opencl/test/unit_test/offline_compiler/mock/mock_argument_helper.h"
|
#include "opencl/test/unit_test/offline_compiler/mock/mock_argument_helper.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <platforms.h>
|
#include <platforms.h>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "shared/source/helpers/product_config_helper.h"
|
#include "shared/source/helpers/product_config_helper.h"
|
||||||
#include "shared/source/os_interface/os_inc_base.h"
|
#include "shared/source/os_interface/os_inc_base.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2019-2024 Intel Corporation
|
* Copyright (C) 2019-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "shared/source/helpers/hw_info.h"
|
#include "shared/source/helpers/hw_info.h"
|
||||||
|
|
||||||
#include "helper.h"
|
#include "helper.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "translate_platform_base.h"
|
#include "translate_platform_base.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igad.h"
|
#include "igad.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
inline iga_gen_t translateToIgaGenBase(PRODUCT_FAMILY productFamily) {
|
inline iga_gen_t translateToIgaGenBase(PRODUCT_FAMILY productFamily) {
|
||||||
switch (productFamily) {
|
switch (productFamily) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "shared/source/helpers/product_config_helper.h"
|
#include "shared/source/helpers/product_config_helper.h"
|
||||||
#include "shared/source/utilities/directory.h"
|
#include "shared/source/utilities/directory.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "cif/common/cif_main.h"
|
#include "cif/common/cif_main.h"
|
||||||
#include "cif/import/library_api.h"
|
#include "cif/import/library_api.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "ocl_igc_interface/code_type.h"
|
#include "ocl_igc_interface/code_type.h"
|
||||||
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
|
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2023 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "shared/source/helpers/hw_info.h"
|
#include "shared/source/helpers/hw_info.h"
|
||||||
#include "shared/source/kernel/kernel_arg_descriptor.h"
|
#include "shared/source/kernel/kernel_arg_descriptor.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
10
shared/source/gmm_helper/igfxfmid_wrapper/neo_igfxfmid.h
Normal file
10
shared/source/gmm_helper/igfxfmid_wrapper/neo_igfxfmid.h
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 Intel Corporation
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "igfxfmid.h"
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "shared/source/helpers/product_config_helper.h"
|
#include "shared/source/helpers/product_config_helper.h"
|
||||||
#include "shared/source/utilities/stackvec.h"
|
#include "shared/source/utilities/stackvec.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "ocl_igc_interface/code_type.h"
|
#include "ocl_igc_interface/code_type.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "shared/source/utilities/stackvec.h"
|
#include "shared/source/utilities/stackvec.h"
|
||||||
|
|
||||||
#include "aubstream/aubstream.h"
|
#include "aubstream/aubstream.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "shared/source/helpers/kmd_notify_properties.h"
|
#include "shared/source/helpers/kmd_notify_properties.h"
|
||||||
|
|
||||||
#include "gtsysinfo.h"
|
#include "gtsysinfo.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "sku_info.h"
|
#include "sku_info.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2022-2024 Intel Corporation
|
* Copyright (C) 2022-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "shared/source/helpers/hw_ip_version.h"
|
#include "shared/source/helpers/hw_ip_version.h"
|
||||||
#include "shared/source/utilities/const_stringref.h"
|
#include "shared/source/utilities/const_stringref.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include "shared/source/os_interface/os_interface.h"
|
#include "shared/source/os_interface/os_interface.h"
|
||||||
#include "shared/source/utilities/stackvec.h"
|
#include "shared/source/utilities/stackvec.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#include "shared/source/os_interface/linux/drm_wrappers.h"
|
#include "shared/source/os_interface/linux/drm_wrappers.h"
|
||||||
#include "shared/source/utilities/stackvec.h"
|
#include "shared/source/utilities/stackvec.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cinttypes>
|
#include <cinttypes>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "shared/source/helpers/debug_helpers.h"
|
#include "shared/source/helpers/debug_helpers.h"
|
||||||
#include "shared/source/xe_hpc_core/hw_info.h"
|
#include "shared/source/xe_hpc_core/hw_info.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "shared/source/helpers/debug_helpers.h"
|
#include "shared/source/helpers/debug_helpers.h"
|
||||||
#include "shared/source/xe_hpg_core/hw_info.h"
|
#include "shared/source/xe_hpg_core/hw_info.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2019-2024 Intel Corporation
|
* Copyright (C) 2019-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "shared/source/helpers/string.h"
|
#include "shared/source/helpers/string.h"
|
||||||
#include "shared/test/common/helpers/default_hw_info.h"
|
#include "shared/test/common/helpers/default_hw_info.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <RelocationInfo.h>
|
#include <RelocationInfo.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2021 Intel Corporation
|
* Copyright (C) 2021-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
template <GFXCORE_FAMILY gfxCoreFamily>
|
template <GFXCORE_FAMILY gfxCoreFamily>
|
||||||
struct TestTraits;
|
struct TestTraits;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2021 Intel Corporation
|
* Copyright (C) 2021-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
template <PRODUCT_FAMILY productFamily>
|
template <PRODUCT_FAMILY productFamily>
|
||||||
struct TestTraitsPlatforms;
|
struct TestTraitsPlatforms;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2019-2021 Intel Corporation
|
* Copyright (C) 2019-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2024 Intel Corporation
|
* Copyright (C) 2020-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "shared/source/helpers/hw_info.h"
|
#include "shared/source/helpers/hw_info.h"
|
||||||
#include "shared/source/utilities/const_stringref.h"
|
#include "shared/source/utilities/const_stringref.h"
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2024 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common/gtsysinfo.h"
|
#include "common/gtsysinfo.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "test_files_setup.h"
|
#include "test_files_setup.h"
|
||||||
|
|
||||||
namespace Os {
|
namespace Os {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2022 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
#include "shared/source/os_interface/os_library.h"
|
#include "shared/source/os_interface/os_library.h"
|
||||||
|
|
||||||
#include "common/gtsysinfo.h"
|
#include "common/gtsysinfo.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
NEO::OsLibrary *setAdapterInfo(const PLATFORM *platform, const GT_SYSTEM_INFO *gtSystemInfo, uint64_t gpuAddressSpace) {
|
NEO::OsLibrary *setAdapterInfo(const PLATFORM *platform, const GT_SYSTEM_INFO *gtSystemInfo, uint64_t gpuAddressSpace) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2022 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
#include "shared/test/common/mock_gdi/mock_os_library.h"
|
#include "shared/test/common/mock_gdi/mock_os_library.h"
|
||||||
|
|
||||||
#include "common/gtsysinfo.h"
|
#include "common/gtsysinfo.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
extern const char *wslComputeHelperLibNameToLoad;
|
extern const char *wslComputeHelperLibNameToLoad;
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2024 Intel Corporation
|
* Copyright (C) 2018-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common/gtsysinfo.h"
|
#include "common/gtsysinfo.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace Os {
|
namespace Os {
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "hw_cmds.h"
|
#include "hw_cmds.h"
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
#include "per_product_test_selector.h"
|
#include "per_product_test_selector.h"
|
||||||
#include "test_mode.h"
|
#include "test_mode.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2021-2022 Intel Corporation
|
* Copyright (C) 2021-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
extern PRODUCT_FAMILY productFamily;
|
extern PRODUCT_FAMILY productFamily;
|
||||||
extern GFXCORE_FAMILY renderCoreFamily;
|
extern GFXCORE_FAMILY renderCoreFamily;
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2021-2022 Intel Corporation
|
* Copyright (C) 2021-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "igfxfmid.h"
|
#include "neo_igfxfmid.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
namespace TestExcludes {
|
namespace TestExcludes {
|
||||||
|
|||||||
Reference in New Issue
Block a user