refactor: rename cl_gfx_core_helper files
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
parent
19c655076c
commit
0499a72451
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -19,7 +19,7 @@
|
|||
#include "shared/source/os_interface/os_interface.h"
|
||||
#include "shared/source/source_level_debugger/source_level_debugger.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/platform/platform.h"
|
||||
|
||||
namespace NEO {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "shared/source/os_interface/driver_info.h"
|
||||
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/sharings/sharing_factory.h"
|
||||
|
||||
#include "driver_version.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "opencl/source/cl_device/cl_device_get_cap.inl"
|
||||
#include "opencl/source/cl_device/cl_device_info_map.h"
|
||||
#include "opencl/source/cl_device/cl_device_vector.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/get_info_status_mapper.h"
|
||||
#include "opencl/source/platform/platform.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "opencl/source/event/event_builder.h"
|
||||
#include "opencl/source/event/user_event.h"
|
||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/convert_color.h"
|
||||
#include "opencl/source/helpers/dispatch_info.h"
|
||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "opencl/source/event/user_event.h"
|
||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||
#include "opencl/source/helpers/cl_blit_properties.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_preemption_helper.h"
|
||||
#include "opencl/source/helpers/dispatch_info_builder.h"
|
||||
#include "opencl/source/helpers/enqueue_properties.h"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set(RUNTIME_SRCS_COREX_CPP_BASE
|
||||
buffer
|
||||
cl_hw_helper
|
||||
cl_gfx_core_helper
|
||||
command_queue
|
||||
gpgpu_walker
|
||||
hardware_commands_helper
|
||||
|
|
|
@ -8,15 +8,15 @@
|
|||
#include "shared/source/gen11/hw_cmds.h"
|
||||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_bdw_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_bdw_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = Gen11Family;
|
||||
static auto gfxCore = IGFX_GEN11_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
|
||||
template <>
|
||||
cl_version ClGfxCoreHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
#include "shared/source/gen12lp/hw_cmds.h"
|
||||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_bdw_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_bdw_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = Gen12LpFamily;
|
||||
static auto gfxCore = IGFX_GEN12LP_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
|
||||
template <>
|
||||
cl_device_feature_capabilities_intel ClGfxCoreHelperHw<Family>::getSupportedDeviceFeatureCapabilities(const RootDeviceEnvironment &rootDeviceEnvironment) const {
|
|
@ -10,7 +10,7 @@
|
|||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
#include "shared/source/gen8/hw_cmds.h"
|
||||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_bdw_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_bdw_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = Gen8Family;
|
||||
static auto gfxCore = IGFX_GEN8_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
|
||||
template <>
|
||||
cl_version ClGfxCoreHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
#include "shared/source/gen9/hw_cmds.h"
|
||||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_bdw_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_bdw_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = Gen9Family;
|
||||
static auto gfxCore = IGFX_GEN9_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
|
||||
template <>
|
||||
cl_version ClGfxCoreHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/helpers/populate_factory.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -10,11 +10,11 @@ set(RUNTIME_SRCS_HELPERS_BASE
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/base_object.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_blit_properties.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_base.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_bdw_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_factory_init.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_base.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_bdw_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_factory_init.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}cl_memory_properties_helpers.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_memory_properties_helpers.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_memory_properties_helpers_base.inl
|
||||
|
@ -52,13 +52,13 @@ set(RUNTIME_SRCS_HELPERS_BASE
|
|||
|
||||
if(SUPPORT_XEHP_AND_LATER)
|
||||
list(APPEND RUNTIME_SRCS_HELPERS_BASE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_xehp_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_xehp_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hardware_commands_helper_xehp_and_later.inl
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SUPPORT_PVC_AND_LATER)
|
||||
list(APPEND RUNTIME_SRCS_HELPERS_BASE ${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_pvc_and_later.inl)
|
||||
list(APPEND RUNTIME_SRCS_HELPERS_BASE ${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_pvc_and_later.inl)
|
||||
endif()
|
||||
|
||||
set(RUNTIME_SRCS_HELPERS_WINDOWS
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/helpers/hw_info.h"
|
|
@ -8,7 +8,7 @@
|
|||
#include "shared/source/helpers/hw_helper.h"
|
||||
#include "shared/source/program/kernel_info.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/dispatch_info.h"
|
||||
|
||||
namespace NEO {
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/surface_formats.h"
|
||||
|
||||
namespace NEO {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
|
@ -8,7 +8,7 @@
|
|||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
|
||||
namespace NEO {
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
#include "opencl/source/context/context.h"
|
||||
#include "opencl/source/event/event.h"
|
||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_validators.h"
|
||||
#include "opencl/source/helpers/dispatch_info.h"
|
||||
#include "opencl/source/helpers/get_info_status_mapper.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "opencl/source/cl_device/cl_device_get_cap.inl"
|
||||
#include "opencl/source/command_queue/command_queue.h"
|
||||
#include "opencl/source/context/context.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||
#include "opencl/source/helpers/cl_validators.h"
|
||||
#include "opencl/source/helpers/get_info_status_mapper.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/context/context.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -12,8 +12,8 @@
|
|||
#include "shared/source/xe_hp_core/hw_cmds.h"
|
||||
|
||||
#include "opencl/source/context/context.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_xehp_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_xehp_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/xe_hp_core/hw_cmds.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
#include "shared/source/helpers/populate_factory.h"
|
||||
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_xehp_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_xehp_and_later.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XeHpcCoreFamily;
|
||||
static auto gfxCore = IGFX_XE_HPC_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_pvc_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_pvc_and_later.inl"
|
||||
|
||||
template <>
|
||||
bool ClGfxCoreHelperHw<Family>::requiresAuxResolves(const KernelInfo &kernelInfo) const {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_hw_helper_xehp_and_later.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_base.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_xehp_and_later.inl"
|
||||
#include "opencl/source/helpers/surface_formats.h"
|
||||
|
||||
namespace NEO {
|
||||
|
@ -22,7 +22,7 @@ namespace NEO {
|
|||
using Family = XeHpgCoreFamily;
|
||||
static auto gfxCore = IGFX_XE_HPG_CORE;
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper_factory_init.inl"
|
||||
|
||||
template <>
|
||||
bool ClGfxCoreHelperHw<Family>::requiresNonAuxMode(const ArgDescPointer &argAsPtr) const {
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
|
||||
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/source/sampler/sampler.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "shared/source/helpers/hw_info.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
|
||||
#include "cl_api_tests.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "shared/test/common/test_macros/test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/command_stream/thread_arbitration_policy_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_kernel.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/event/event.h"
|
||||
#include "opencl/source/event/user_event.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
||||
#include "opencl/test/unit_test/command_stream/command_stream_fixture.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -21,7 +21,7 @@
|
|||
#include "shared/test/common/utilities/base_object_utils.h"
|
||||
|
||||
#include "opencl/source/event/user_event.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/platform/platform.h"
|
||||
#include "opencl/test/unit_test/command_stream/thread_arbitration_policy_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/enqueue_handler_fixture.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "shared/test/common/mocks/mock_sip.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/device_info_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/ult_cl_device_factory.h"
|
||||
#include "opencl/test/unit_test/test_macros/test_checks_ocl.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
#include "opencl/source/cl_device/cl_device_info_map.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/fixtures/device_info_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_execution_environment.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_execution_environment.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2019-2022 Intel Corporation
|
||||
# Copyright (C) 2019-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -7,7 +7,7 @@
|
|||
if(TESTS_GEN11)
|
||||
set(IGDRCL_SRCS_tests_gen11
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_gen11.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_gen11.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_gen11.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_gen11.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_media_kernel_gen11.cpp
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include "shared/test/common/helpers/hw_helper_tests.h"
|
||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
|
||||
using ClGfxCoreHelperTestGen11 = Test<ClDeviceFixture>;
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
#include "shared/test/common/libult/gen12lp/special_ult_helper_gen12lp.h"
|
||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_context.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_platform.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2018-2021 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -8,7 +8,7 @@ if(TESTS_GEN8)
|
|||
set(IGDRCL_SRCS_tests_gen8
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_gen8.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_gen8.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_gen8.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_media_kernel_gen8.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/image_tests_gen8.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/kernel_tests_gen8.cpp
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||
#include "shared/test/common/test_macros/test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
|
||||
using namespace NEO;
|
||||
using ClGfxCoreHelperTestGen8 = Test<ClDeviceFixture>;
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -8,7 +8,7 @@ if(TESTS_GEN9)
|
|||
set(IGDRCL_SRCS_tests_gen9
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_get_platform_ids_tests_gen9.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_gen9.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_gen9.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_gen9.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_kernel_gen9.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_media_kernel_gen9.cpp
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
|
||||
using ClGfxCoreHelperTestGen9 = Test<ClDeviceFixture>;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -31,7 +31,7 @@ set(IGDRCL_SRCS_tests_helpers
|
|||
|
||||
if(TESTS_XEHP_AND_LATER)
|
||||
list(APPEND IGDRCL_SRCS_tests_helpers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_xehp_and_later.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_xehp_and_later.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_preamble_xehp_and_later.cpp
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "shared/test/common/helpers/hw_helper_tests.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_context.h"
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_helper.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/mem_obj/buffer.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "shared/test/common/utilities/base_object_utils.h"
|
||||
|
||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||
#include "opencl/source/kernel/kernel.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "opencl/source/api/api.h"
|
||||
#include "opencl/source/event/user_event.h"
|
||||
#include "opencl/source/helpers/cl_blit_properties.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_buffer.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||
#include "shared/test/common/utilities/base_object_utils.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||
#include "opencl/source/mem_obj/mem_obj_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/image_fixture.h"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
|
||||
namespace NEO {
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/context/context.h"
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/kernel/kernel.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
|
||||
using ClGfxCoreHelperTestsXeHpCore = Test<ClDeviceFixture>;
|
||||
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_platform.h"
|
||||
|
||||
#include "hw_cmds_xe_hpc_core_base.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2021-2022 Intel Corporation
|
||||
# Copyright (C) 2021-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -7,7 +7,7 @@
|
|||
if(TESTS_PVC)
|
||||
set(IGDRCL_SRCS_tests_xe_hpc_core_pvc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_pvc.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_pvc.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_pvc.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/get_device_info_pvc.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_cl_device_caps_pvc.cpp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2021-2022 Intel Corporation
|
||||
# Copyright (C) 2021-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
@ -13,7 +13,7 @@ if(TESTS_XE_HPG_CORE)
|
|||
set(IGDRCL_SRCS_tests_xe_hpg_core
|
||||
${IGDRCL_SRCS_tests_xe_hpg_core_excludes}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_hw_helper_tests_xe_hpg_core.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cl_gfx_core_helper_tests_xe_hpg_core.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_xe_hpg_core.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/copy_engine_tests_xe_hpg_core.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/image_tests_xe_hpg_core.cpp
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_hw_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_cl_gfx_core_helper.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_context.h"
|
||||
|
||||
#include "hw_cmds_xe_hpg_core_base.h"
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
#include "opencl/source/helpers/cl_gfx_core_helper.h"
|
||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||
#include "opencl/source/mem_obj/image.h"
|
||||
#include "opencl/test/unit_test/mem_obj/image_compression_fixture.h"
|
||||
|
|
Loading…
Reference in New Issue