Cleanup includes 57

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
Warchulski, Jaroslaw
2023-02-16 16:51:55 +00:00
committed by Compute-Runtime-Automation
parent 498e2183e2
commit b485c025d0
105 changed files with 138 additions and 142 deletions

View File

@@ -1,17 +1,28 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/api/extensions/public/ze_exp_ext.h"
#include "level_zero/experimental/source/tracing/tracing_imp.h"
#include "level_zero/experimental/source/tracing/tracing_barrier_imp.h"
#include "level_zero/experimental/source/tracing/tracing_cmdlist_imp.h"
#include "level_zero/experimental/source/tracing/tracing_cmdqueue_imp.h"
#include "level_zero/experimental/source/tracing/tracing_copy_imp.h"
#include "level_zero/experimental/source/tracing/tracing_device_imp.h"
#include "level_zero/experimental/source/tracing/tracing_driver_imp.h"
#include "level_zero/experimental/source/tracing/tracing_event_imp.h"
#include "level_zero/experimental/source/tracing/tracing_fence_imp.h"
#include "level_zero/experimental/source/tracing/tracing_global_imp.h"
#include "level_zero/experimental/source/tracing/tracing_image_imp.h"
#include "level_zero/experimental/source/tracing/tracing_memory_imp.h"
#include "level_zero/experimental/source/tracing/tracing_module_imp.h"
#include "level_zero/experimental/source/tracing/tracing_residency_imp.h"
#include "level_zero/experimental/source/tracing/tracing_sampler_imp.h"
#include "level_zero/source/inc/ze_intel_gpu.h"
#include <level_zero/ze_api.h>
#include <level_zero/ze_ddi.h>
#include <level_zero/zet_api.h>
#include <level_zero/zet_ddi.h>
#include "ze_core_all_api_entrypoints.h"
#include "ze_ddi_tables.h"

View File

@@ -6,9 +6,6 @@
*/
#pragma once
#include "shared/source/os_interface/os_thread.h"
#include "level_zero/core/source/builtin/builtin_functions_lib.h"
#include "level_zero/core/source/module/module.h"

View File

@@ -6,10 +6,8 @@
*/
#include "shared/source/command_container/encode_surface_state.h"
#include "shared/source/command_container/implicit_scaling.h"
#include "shared/source/command_stream/csr_definitions.h"
#include "shared/source/command_stream/scratch_space_controller.h"
#include "shared/source/gmm_helper/gmm_helper.h"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/helpers/pipe_control_args.h"

View File

@@ -12,7 +12,6 @@
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/gmm_helper/gmm.h"
#include "shared/source/helpers/basic_math.h"
#include "shared/source/helpers/string.h"
#include "shared/source/helpers/surface_format_info.h"
#include "shared/source/image/image_surface_state.h"
#include "shared/source/memory_manager/allocation_properties.h"

View File

@@ -10,7 +10,6 @@
#include <level_zero/ze_api.h>
#include <memory>
#include <set>
#include <vector>
struct _ze_module_handle_t {};

View File

@@ -17,6 +17,7 @@
#include <list>
#include <memory>
#include <set>
#include <string>
namespace NEO {

View File

@@ -8,6 +8,7 @@
#include "zello_common.h"
#include <bitset>
#include <cstring>
#include <iomanip>
bool verbose;

View File

@@ -9,7 +9,6 @@
#include <level_zero/ze_api.h>
#include <cstring>
#include <fstream>
#include <iostream>
#include <limits>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,6 +9,8 @@
#include "ocloc_api.h"
#include <cstring>
std::vector<uint8_t> compileToSpirV(const std::string &src, const std::string &options, std::string &outCompilerLog) {
std::vector<uint8_t> ret;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,7 +8,6 @@
#pragma once
#include <cstdint>
#include <cstring>
#include <string>
#include <vector>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <iomanip>
#include <iostream>
#include <limits>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,6 +7,7 @@
#include "zello_common.h"
#include <cstring>
#include <iomanip>
void testAppendMemoryCopyFromHeapToDeviceToStack(ze_context_handle_t &context, ze_device_handle_t &device, bool &validRet) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <limits>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -10,6 +10,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,6 +11,7 @@
#include "zello_common.h"
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -10,6 +10,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -10,6 +10,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -7,6 +7,8 @@
#include "zello_common.h"
#include <cstring>
typedef ze_result_t (*pFnzexDriverImportExternalPointer)(ze_driver_handle_t, void *, size_t);
typedef ze_result_t (*pFnzexDriverReleaseImportedPointer)(ze_driver_handle_t, void *);
typedef ze_result_t (*pFnzexDriverGetHostPointerBaseAddress)(ze_driver_handle_t, void *, void **);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,8 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
const char *readNV12Module = R"===(
__kernel void
ReadNV12Kernel(

View File

@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,7 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -11,6 +11,7 @@
#include "zello_compile.h"
#include <array>
#include <cstring>
#include <iostream>
#include <numeric>
#ifdef WIN32

View File

@@ -8,6 +8,7 @@
#include "zello_common.h"
#include <bitset>
#include <cstring>
#include <sstream>
void executeMemoryTransferAndValidate(ze_context_handle_t &context, ze_device_handle_t &device,

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,8 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
const char *moduleSrc = R"===(
typedef long16 TYPE;
__attribute__((reqd_work_group_size(32, 1, 1))) // force LWS to 32

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,6 +7,7 @@
#include "zello_common.h"
#include <cstring>
#include <functional>
#include <map>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,6 +11,8 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
const char *moduleSrc = R"===(
__kernel void kernel_copy(__global char *dst, __global char *src){
uint gid = get_global_id(0);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,6 +7,8 @@
#include "zello_common.h"
#include <cstring>
void executeGpuKernelAndValidate(ze_context_handle_t &context, ze_device_handle_t &device, bool &outputValidationSuccessful) {
ze_command_queue_handle_t cmdQueue;
ze_command_queue_desc_t cmdQueueDesc = {ZE_STRUCTURE_TYPE_COMMAND_QUEUE_DESC};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,8 @@
#include "zello_common.h"
#include "zello_compile.h"
#include <cstring>
const char *moduleSrc = R"===(
__kernel void kernel_copy(__global char *dst, __global char *src){
uint gid = get_global_id(0);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,6 +9,7 @@
#include "zello_common.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <memory>

View File

@@ -16,8 +16,6 @@
#include <gtest/gtest.h>
#include <iostream>
namespace L0 {
extern struct APITracerContextImp *pGlobalAPITracerContextImp;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -23,7 +23,6 @@
#include "level_zero/experimental/source/tracing/tracing_residency_imp.h"
#include "level_zero/experimental/source/tracing/tracing_sampler_imp.h"
#include <level_zero/ze_api.h>
#include <level_zero/ze_ddi.h>
#include "ze_ddi_tables.h"
@@ -31,7 +30,6 @@
#include <chrono>
#include <list>
#include <mutex>
#include <thread>
#include <vector>
extern ze_gpu_driver_dditable_t driver_ddiTable;

View File

@@ -12,8 +12,6 @@
#include <level_zero/ze_api.h>
#include <level_zero/zes_api.h>
#include <vector>
namespace L0 {
namespace Sysman {

View File

@@ -12,8 +12,6 @@
#include <level_zero/ze_api.h>
#include <level_zero/zes_api.h>
#include <vector>
namespace L0 {
namespace Sysman {

View File

@@ -1,12 +1,11 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "level_zero/core/source/device/device.h"
#include <level_zero/zes_api.h>
#include <mutex>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,7 +9,6 @@
#include "level_zero/core/source/device/device.h"
#include <level_zero/zes_api.h>
#include <map>
#include <mutex>
#include <vector>

View File

@@ -1,13 +1,11 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "level_zero/tools/source/sysman/os_sysman.h"
#include <level_zero/zes_api.h>
#include <memory>
@@ -16,6 +14,8 @@
namespace L0 {
struct OsSysman;
class OsFirmware {
public:
virtual void osGetFwProperties(zes_firmware_properties_t *pProperties) = 0;

View File

@@ -6,9 +6,6 @@
*/
#pragma once
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include "level_zero/core/source/device/device.h"
#include "level_zero/tools/source/sysman/firmware_util/igsc_wrapper.h"
#include <level_zero/zes_api.h>

View File

@@ -13,7 +13,6 @@
#include "level_zero/core/source/device/device.h"
#include "level_zero/tools/source/sysman/firmware_util/firmware_util.h"
#include <cinttypes>
#include <mutex>
#include <string>
#include <vector>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,13 +8,10 @@
#pragma once
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include <level_zero/zet_api.h>
#include "global_operations.h"
#include "os_global_operations.h"
#include <mutex>
#include <vector>
namespace L0 {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,7 +11,6 @@
#include "level_zero/tools/source/sysman/os_sysman.h"
#include <level_zero/zes_api.h>
#include <string>
#include <vector>
namespace L0 {

View File

@@ -8,7 +8,6 @@
#pragma once
#include "level_zero/tools/source/sysman/os_sysman.h"
#include <level_zero/zet_api.h>
#include <vector>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,9 +9,6 @@
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include "shared/source/memory_manager/memory_manager.h"
#include "level_zero/core/source/device/device.h"
#include <level_zero/zet_api.h>
#include "os_pci.h"
#include "pci.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,7 +11,6 @@
#include "level_zero/core/source/device/device.h"
#include <level_zero/zes_api.h>
#include <map>
#include <mutex>
#include <string>
#include <vector>

View File

@@ -8,13 +8,10 @@
#pragma once
#include "shared/source/gmm_helper/gmm_lib.h"
#include "shared/source/os_interface/os_interface.h"
#include "level_zero/tools/source/sysman/windows/kmd_sys.h"
#include "level_zero/ze_api.h"
#include "level_zero/zet_api.h"
#include <string>
#include <vector>
namespace NEO {

View File

@@ -8,7 +8,6 @@
#pragma once
#include "level_zero/core/test/unit_tests/mock.h"
#include "level_zero/tools/source/sysman/windows/kmd_sys_manager.h"
#include "level_zero/tools/source/sysman/windows/os_sysman_imp.h"
#include "gmock/gmock.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -14,7 +14,6 @@
#include "CL/cl_ext.h"
#include <CL/cl.h>
#include <CL/cl_ext.h>
namespace NEO {

View File

@@ -11,10 +11,8 @@
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/helpers/l3_range.h"
#include "shared/source/helpers/pipe_control_args.h"
#include "shared/source/helpers/string.h"
#include "shared/source/kernel/implicit_args.h"
#include "opencl/source/cl_device/cl_device.h"
#include "opencl/source/command_queue/command_queue.h"
#include "opencl/source/helpers/hardware_commands_helper.h"
#include "opencl/source/kernel/kernel.h"

View File

@@ -1,13 +1,11 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/device/device.h"
#include "shared/test/common/helpers/debug_manager_state_restore.h"
#include "shared/test/common/libult/ult_command_stream_receiver.h"
#include "shared/test/common/test_macros/test.h"
#include "opencl/source/context/context.h"

View File

@@ -14,6 +14,7 @@
#include "shared/test/common/helpers/variable_backup.h"
#include "opencl/source/command_queue/command_queue.h"
#include "opencl/source/platform/platform.h"
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
#include "opencl/test/unit_test/test_macros/test_checks_ocl.h"

View File

@@ -7,14 +7,12 @@
#pragma once
#include "shared/source/aub_mem_dump/aub_mem_dump.h"
#include "shared/source/aub_mem_dump/page_table_entry_bits.h"
#include "shared/source/command_stream/aub_command_stream_receiver.h"
#include "shared/source/command_stream/aub_command_stream_receiver_hw.h"
#include "shared/source/command_stream/command_stream_receiver_with_aub_dump.h"
#include "shared/source/command_stream/tbx_command_stream_receiver_hw.h"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/os_interface/os_interface.h"
#include "shared/test/common/mocks/mock_device.h"
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
#include "shared/test/common/tests_configuration.h"

View File

@@ -9,6 +9,7 @@
#include "shared/source/os_interface/device_factory.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "opencl/source/platform/platform.h"
#include "opencl/test/unit_test/api/cl_api_tests.h"
using namespace NEO;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,8 +11,6 @@
#include <atomic>
#include <iterator>
#include <memory>
#include <mutex>
#include <vector>
using namespace NEO;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -17,7 +17,6 @@
#include "opencl/source/kernel/kernel.h"
#include "opencl/source/kernel/kernel_objects_for_aux_translation.h"
#include "opencl/source/kernel/multi_device_kernel.h"
#include "opencl/source/platform/platform.h"
#include "opencl/test/unit_test/mocks/mock_buffer.h"
#include "opencl/test/unit_test/mocks/mock_context.h"
#include "opencl/test/unit_test/mocks/mock_program.h"

View File

@@ -7,7 +7,6 @@
#pragma once
#include "shared/source/device/device.h"
#include "shared/source/helpers/hash.h"
#include "shared/source/helpers/string.h"
#include "shared/source/memory_manager/graphics_allocation.h"
#include "shared/source/program/kernel_info.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,6 +8,7 @@
#include "opencl/test/unit_test/offline_compiler/ocloc_product_config_tests.h"
#include "shared/source/helpers/product_config_helper.h"
#include "shared/source/os_interface/os_library.h"
namespace NEO {
TEST_P(OclocProductConfigTests, GivenProductConfigValuesWhenInitHardwareInfoThenCorrectValuesAreSet) {

View File

@@ -5,6 +5,7 @@
*
*/
#include "shared/source/os_interface/os_library.h"
#include "shared/test/common/xe_hpc_core/pvc/product_configs_pvc.h"
#include "opencl/test/unit_test/offline_compiler/ocloc_fatbinary_tests.h"

View File

@@ -5,6 +5,7 @@
*
*/
#include "shared/source/os_interface/os_library.h"
#include "shared/test/common/xe_hpg_core/dg2/product_configs_dg2.h"
#include "opencl/test/unit_test/offline_compiler/ocloc_fatbinary_tests.h"

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/os_interface/os_library.h"
#include "opencl/test/unit_test/offline_compiler/ocloc_fatbinary_tests.h"
namespace NEO {

View File

@@ -13,8 +13,6 @@
#include "gtest/gtest.h"
#include <vector>
class ProgramTests : public NEO::ClDeviceFixture,
public ::testing::Test,
public NEO::ContextFixture {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -14,6 +14,7 @@
#include "shared/source/device_binary_format/elf/ocl_elf.h"
#include "shared/source/helpers/file_io.h"
#include "shared/source/helpers/ptr_math.h"
#include "shared/source/os_interface/os_library.h"
#include "shared/source/utilities/directory.h"
#include <cstring>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -13,6 +13,7 @@
#include "shared/source/helpers/aligned_memory.h"
#include "shared/source/helpers/file_io.h"
#include "shared/source/helpers/hash.h"
#include "shared/source/os_interface/os_library.h"
#include "CL/cl.h"
#include "helper.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,10 +8,8 @@
#pragma once
#include "shared/offline_compiler/source/ocloc_arg_helper.h"
#include "helper.h"
#include "iga_wrapper.h"
#include <sstream>
#include <string>
#include <vector>

View File

@@ -1,16 +1,13 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/os_interface/os_library.h"
#include "igfxfmid.h"
#include <exception>
#include <memory>
#include <sstream>
#include <string>

View File

@@ -12,7 +12,6 @@
#include "shared/source/utilities/const_stringref.h"
#include <algorithm>
#include <cctype>
#include <fstream>
#include <map>
#include <memory>

View File

@@ -17,6 +17,7 @@
#include "shared/source/helpers/file_io.h"
#include "shared/source/helpers/hw_info.h"
#include "shared/source/helpers/product_config_helper.h"
#include "shared/source/os_interface/os_library.h"
#include "igfxfmid.h"
#include "platforms.h"

View File

@@ -11,8 +11,6 @@
#include "shared/source/device_binary_format/ar/ar_encoder.h"
#include "shared/source/utilities/const_stringref.h"
#include "igfxfmid.h"
#include <cstdint>
#include <string>
#include <vector>

View File

@@ -22,6 +22,7 @@
#include "shared/source/helpers/debug_helpers.h"
#include "shared/source/helpers/string.h"
#include "shared/source/helpers/validators.h"
#include "shared/source/os_interface/os_library.h"
#include "platforms.h"

View File

@@ -14,6 +14,7 @@
#include "shared/source/device_binary_format/elf/ocl_elf.h"
#include "shared/source/helpers/compiler_product_helper.h"
#include "shared/source/helpers/string.h"
#include "shared/source/os_interface/os_library.h"
#include "cif/common/cif_main.h"
#include "cif/import/library_api.h"

View File

@@ -20,8 +20,10 @@
#include <functional>
namespace NEO {
enum class DebugPauseState : uint32_t;
struct BatchBuffer;
struct HardwareInfo;
struct WaitParams;
class SubmissionAggregator;
class FlushStampTracker;

View File

@@ -5,11 +5,11 @@
*
*/
#include "shared/source/command_stream/preemption_mode.h"
#include "shared/source/command_stream/stream_property.h"
#include "shared/source/helpers/hw_info.h"
namespace NEO {
enum PreemptionMode : uint32_t;
struct HardwareInfo;
struct RootDeviceEnvironment;
struct StateComputeModePropertiesSupport {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,6 +7,7 @@
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/os_interface/windows/gdi_interface.h"
#include "shared/source/os_interface/windows/os_inc.h"
namespace NEO {

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "aubstream/product_family.h"
namespace NEO {

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "aubstream/product_family.h"
namespace NEO {

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "aubstream/product_family.h"
namespace NEO {

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
namespace NEO {
template <>
uint32_t ProductHelperHw<gfxProduct>::getHwRevIdFromStepping(uint32_t stepping, const HardwareInfo &hwInfo) const {

View File

@@ -5,6 +5,8 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "aubstream/product_family.h"
namespace NEO {

View File

@@ -10,8 +10,6 @@
#include "External/Common/GmmPageTableMgr.h"
#include <functional>
namespace NEO {
class Gmm;
class GmmClientContext;

View File

@@ -18,7 +18,6 @@
#include "memory_properties_flags.h"
#include <cstdint>
#include <cstring>
#include <map>
#include <mutex>
#include <unordered_map>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 Intel Corporation
* Copyright (C) 2019-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,8 +9,6 @@
#include "shared/source/memory_manager/memory_operations_status.h"
#include "shared/source/utilities/arrayref.h"
#include <vector>
namespace NEO {
class Device;
class GraphicsAllocation;

View File

@@ -1,20 +1,16 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/helpers/basic_math.h"
#include "shared/source/memory_manager/physical_address_allocator.h"
#include <array>
#include <atomic>
#include <cinttypes>
#include <functional>
#include <memory>
#include <vector>
namespace NEO {

View File

@@ -1,12 +1,11 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdlib>
#include <memory>
#include <string>
#include <vector>

View File

@@ -9,10 +9,8 @@
#include "shared/source/command_stream/stream_properties.h"
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/helpers/cache_policy.h"
#include "shared/source/helpers/constants.h"
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/helpers/local_memory_access_modes.h"
#include "shared/source/helpers/preamble.h"
#include "shared/source/memory_manager/graphics_allocation.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,11 +8,9 @@
#pragma once
#include "shared/source/os_interface/os_library.h"
#include "shared/source/os_interface/windows/d3dkmthk_wrapper.h"
#include "shared/source/os_interface/windows/os_inc.h"
#include "shared/source/os_interface/windows/thk_wrapper.h"
#include <memory>
#include <string>
namespace NEO {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -10,7 +10,6 @@
#include "shared/source/os_interface/windows/dxgi_wrapper.h"
#include "shared/source/os_interface/windows/wddm/adapter_factory.h"
#include <memory>
#include <vector>
namespace NEO {

View File

@@ -6,16 +6,12 @@
*/
#pragma once
#include "shared/source/helpers/aligned_memory.h"
#include "shared/source/memory_manager/memory_manager.h"
#include "shared/source/os_interface/os_context.h"
#include "shared/source/os_interface/windows/wddm_allocation.h"
#include "shared/source/os_interface/windows/windows_wrapper.h"
#include <d3dkmthk.h>
#include <map>
#include <mutex>
#include <vector>
namespace NEO {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2022 Intel Corporation
* Copyright (C) 2019-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -13,6 +13,8 @@
#include "shared/source/memory_manager/graphics_allocation.h"
#include "shared/source/memory_manager/memory_manager.h"
#include <cstring>
namespace NEO {
SyncBufferHandler::~SyncBufferHandler() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,6 +11,7 @@
#include <atomic>
#include <cstring>
#include <fstream>
#include <sstream>
#include <thread>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,7 +9,6 @@
#include "shared/source/utilities/timer_util.h"
#include <atomic>
#include <fstream>
#include <memory>
#include <sstream>
#include <vector>

View File

@@ -5,6 +5,7 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/memory_manager/memory_manager.h"
#include "aubstream/product_family.h"

View File

@@ -5,6 +5,7 @@
*
*/
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/memory_manager/allocation_type.h"
#include "aubstream/product_family.h"

View File

@@ -13,7 +13,6 @@
#include "shared/source/indirect_heap/indirect_heap.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
#include "shared/test/common/helpers/default_hw_info.h"
#include "shared/test/common/mocks/mock_execution_environment.h"
#include "gtest/gtest.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2022 Intel Corporation
* Copyright (C) 2019-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -10,7 +10,6 @@
#include "shared/source/utilities/stackvec.h"
#include "shared/test/common/cmd_parse/hw_parse.h"
#include <memory>
#include <string>
#include <vector>

Some files were not shown because too many files have changed in this diff Show More