clang-format: enable sorting includes

Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library

Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2019-02-27 11:39:32 +01:00
parent 3eb10d0cc2
commit 8b57d28116
1208 changed files with 3921 additions and 4072 deletions

View File

@@ -48,13 +48,24 @@ DerivePointerAlignment: false
DisableFormat: false DisableFormat: false
ExperimentalAutoDetectBinPacking: false ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories: IncludeBlocks: Regroup
- Regex: '^"(llvm|llvm-c|clang|clang-c)/' IncludeCategories:
Priority: 2 - Regex: '^.(common|documentation|elf|manifests|offline_compiler|public|runtime|scripts|unit_tests)/'
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1 Priority: 1
- Regex: '^"test\.h"$'
Priority: 1
- Regex: '(d3d9types|d3d10_1)\.h'
Priority: 4
- Regex: '(gfxEscape|windows)\.h'
Priority: 5
- Regex: '^.(third_party|llvm|llvm-c|clang|clang-c|gtest|isl|json)/'
Priority: 5
- Regex: '^.(gmock|cl|gl|d3d)'
Priority: 5
- Regex: '^<.*>$'
Priority: 10
- Regex: '.*'
Priority: 5
IndentCaseLabels: false IndentCaseLabels: false
IndentWidth: 4 IndentWidth: 4
IndentWrappedFunctionNames: false IndentWrappedFunctionNames: false
@@ -74,7 +85,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60 PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right PointerAlignment: Right
ReflowComments: true ReflowComments: true
SortIncludes: false SortIncludes: true
SpaceAfterCStyleCast: false SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements SpaceBeforeParens: ControlStatements

View File

@@ -1,11 +1,12 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "reader.h" #include "reader.h"
#include <string.h> #include <string.h>
namespace CLElfLib { namespace CLElfLib {

View File

@@ -1,11 +1,12 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "writer.h" #include "writer.h"
#include <cstring> #include <cstring>
// Need for linux compatibility with memcpy_s // Need for linux compatibility with memcpy_s

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "types.h" #include "types.h"
#include <queue> #include <queue>
#include <string> #include <string>

View File

@@ -1,16 +1,18 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "binary_decoder.h" #include "binary_decoder.h"
#include "elf/reader.h" #include "elf/reader.h"
#include "helper.h"
#include "runtime/helpers/file_io.h" #include "runtime/helpers/file_io.h"
#include "runtime/helpers/ptr_math.h" #include "runtime/helpers/ptr_math.h"
#include "helper.h"
#include <cstring> #include <cstring>
#include <fstream> #include <fstream>

View File

@@ -1,16 +1,18 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "binary_encoder.h" #include "binary_encoder.h"
#include "CL/cl.h"
#include "elf/writer.h" #include "elf/writer.h"
#include "helper.h"
#include "runtime/helpers/file_io.h" #include "runtime/helpers/file_io.h"
#include "CL/cl.h"
#include "helper.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include <fstream> #include <fstream>

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,8 +7,8 @@
#pragma once #pragma once
#include <sstream> #include <sstream>
#include <vector>
#include <string> #include <string>
#include <vector>
class BinaryEncoder { class BinaryEncoder {
public: public:

View File

@@ -1,14 +1,14 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include <exception>
#include <string> #include <string>
#include <vector> #include <vector>
#include <exception>
void addSlash(std::string &path); void addSlash(std::string &path);

View File

@@ -1,16 +1,16 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "decoder/binary_encoder.h"
#include "decoder/binary_decoder.h"
#include "offline_compiler/offline_compiler.h" #include "offline_compiler/offline_compiler.h"
#include "offline_compiler/utilities/safety_caller.h" #include "offline_compiler/utilities/safety_caller.h"
#include "runtime/os_interface/os_library.h" #include "runtime/os_interface/os_library.h"
#include "decoder/binary_decoder.h"
#include "decoder/binary_encoder.h"
#include <CL/cl.h> #include <CL/cl.h>
using namespace OCLRT; using namespace OCLRT;

View File

@@ -5,29 +5,32 @@
* *
*/ */
#include "offline_compiler.h"
#include "elf/writer.h"
#include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/file_io.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/helpers/string.h"
#include "runtime/helpers/validators.h"
#include "runtime/os_interface/debug_settings_manager.h"
#include "runtime/os_interface/os_inc_base.h"
#include "runtime/os_interface/os_library.h"
#include "runtime/platform/extensions.h"
#include "cif/common/cif_main.h" #include "cif/common/cif_main.h"
#include "cif/helpers/error.h" #include "cif/helpers/error.h"
#include "cif/import/library_api.h" #include "cif/import/library_api.h"
#include "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"
#include "ocl_igc_interface/igc_ocl_device_ctx.h" #include "ocl_igc_interface/igc_ocl_device_ctx.h"
#include "ocl_igc_interface/platform_helper.h" #include "ocl_igc_interface/platform_helper.h"
#include "offline_compiler.h"
#include "igfxfmid.h"
#include "runtime/helpers/file_io.h"
#include "runtime/os_interface/debug_settings_manager.h"
#include "runtime/os_interface/os_inc_base.h"
#include "runtime/os_interface/os_library.h"
#include "runtime/helpers/string.h"
#include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/helpers/validators.h"
#include "runtime/platform/extensions.h"
#include "elf/writer.h"
#include <iomanip>
#include <list>
#include <algorithm> #include <algorithm>
#include <iomanip>
#include <iostream> #include <iostream>
#include <list>
#ifdef _WIN32 #ifdef _WIN32
#include <direct.h> #include <direct.h>

View File

@@ -6,13 +6,15 @@
*/ */
#pragma once #pragma once
#include "cif/common/cif_main.h"
#include "ocl_igc_interface/igc_ocl_device_ctx.h"
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
#include "elf/writer.h" #include "elf/writer.h"
#include "cif/common/cif_main.h"
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
#include "ocl_igc_interface/igc_ocl_device_ctx.h"
#include <cstdint> #include <cstdint>
#include <string>
#include <memory> #include <memory>
#include <string>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,13 +1,16 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "hw_cmds.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/helpers/array_count.h" #include "runtime/helpers/array_count.h"
#include "hw_cmds.h"
#include <cstddef> #include <cstddef>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,13 +1,13 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/os_interface/os_library.h"
#include "offline_compiler/offline_compiler.h" #include "offline_compiler/offline_compiler.h"
#include "offline_compiler/utilities/linux/safety_guard_linux.h" #include "offline_compiler/utilities/linux/safety_guard_linux.h"
#include "runtime/os_interface/os_library.h"
using namespace OCLRT; using namespace OCLRT;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,11 +7,12 @@
#pragma once #pragma once
#include "runtime/helpers/abort.h" #include "runtime/helpers/abort.h"
#include <cstdlib>
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <execinfo.h> #include <execinfo.h>
#include <signal.h>
#include <setjmp.h> #include <setjmp.h>
#include <signal.h>
static jmp_buf jmpbuf; static jmp_buf jmpbuf;

View File

@@ -6,6 +6,7 @@
*/ */
#include "seh_exception.h" #include "seh_exception.h"
#include "runtime/os_interface/os_library.h" #include "runtime/os_interface/os_library.h"
#include <memory> #include <memory>
@@ -16,9 +17,10 @@
#include <dbghelp.h> #include <dbghelp.h>
#pragma warning(pop) #pragma warning(pop)
#include <windows.h>
#include <excpt.h> #include <excpt.h>
#include <psapi.h> #include <psapi.h>
#include <windows.h>
using namespace std; using namespace std;

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,8 +7,9 @@
#pragma once #pragma once
#include "windows.h"
#include "excpt.h" #include "excpt.h"
#include "windows.h"
#include <string> #include <string>
class SehException { class SehException {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -8,6 +8,10 @@
#ifndef OPENCL_SHARED_RESOURCE #ifndef OPENCL_SHARED_RESOURCE
#define OPENCL_SHARED_RESOURCE #define OPENCL_SHARED_RESOURCE
#include "GL/gl.h"
#include "GmmLib.h"
#include "third_party/opencl_headers/CL/cl_gl.h"
// Used for creating CL resources from GL resources // Used for creating CL resources from GL resources
typedef struct _tagCLGLResourceInfo { typedef struct _tagCLGLResourceInfo {
GLuint name; GLuint name;

View File

@@ -1,14 +1,15 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/accelerators/intel_accelerator.h" #include "runtime/accelerators/intel_accelerator.h"
#include "runtime/context/context.h" #include "runtime/context/context.h"
#include "runtime/helpers/string.h"
#include "runtime/helpers/get_info.h" #include "runtime/helpers/get_info.h"
#include "runtime/helpers/string.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -5,10 +5,8 @@
* *
*/ */
#include "config.h"
#include <algorithm>
#include "api.h" #include "api.h"
#include "CL/cl.h"
#include "runtime/accelerators/intel_motion_estimation.h" #include "runtime/accelerators/intel_motion_estimation.h"
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue.h" #include "runtime/command_queue/command_queue.h"
@@ -38,6 +36,11 @@
#include "runtime/sharings/sharing_factory.h" #include "runtime/sharings/sharing_factory.h"
#include "runtime/utilities/api_intercept.h" #include "runtime/utilities/api_intercept.h"
#include "runtime/utilities/stackvec.h" #include "runtime/utilities/stackvec.h"
#include "CL/cl.h"
#include "config.h"
#include <algorithm>
#include <cstring> #include <cstring>
using namespace OCLRT; using namespace OCLRT;

View File

@@ -5,11 +5,12 @@
* *
*/ */
#include "CL/cl.h"
#include "CL/cl_gl.h"
#include "public/cl_ext_private.h" #include "public/cl_ext_private.h"
#include "runtime/api/dispatch.h" #include "runtime/api/dispatch.h"
#include "CL/cl.h"
#include "CL/cl_gl.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "runtime/api/dispatch.h" #include "runtime/api/dispatch.h"
#include <cstdint> #include <cstdint>
struct ClDispatch { struct ClDispatch {

View File

@@ -1,26 +1,12 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "dispatch.h" #include "dispatch.h"
#include "api.h" #include "api.h"
SDispatchTable icdGlobalDispatchTable = SDispatchTable icdGlobalDispatchTable =

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -14,12 +14,14 @@
#include "CL/cl_gl_ext.h" #include "CL/cl_gl_ext.h"
#if defined(_WIN32) #if defined(_WIN32)
#include <d3d10_1.h> #include <d3d10_1.h>
#include "CL/cl_dx9_media_sharing.h"
#include "CL/cl_d3d10.h" #include "CL/cl_d3d10.h"
#include "CL/cl_d3d11.h" #include "CL/cl_d3d11.h"
#include "CL/cl_dx9_media_sharing.h"
#define CL_DX9_MEDIA_SHARING_INTEL_EXT #define CL_DX9_MEDIA_SHARING_INTEL_EXT
#include "CL/cl_dx9_media_sharing_intel.h"
#include "runtime/os_interface/windows/windows_wrapper.h" #include "runtime/os_interface/windows/windows_wrapper.h"
#include "CL/cl_dx9_media_sharing_intel.h"
#else #else
#define CL_CONTEXT_D3D10_DEVICE_KHR 0x4014 #define CL_CONTEXT_D3D10_DEVICE_KHR 0x4014
#define CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR 0x402C #define CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR 0x402C

View File

@@ -6,14 +6,15 @@
*/ */
#include "runtime/aub/aub_center.h" #include "runtime/aub/aub_center.h"
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/helpers/hw_info.h" #include "runtime/helpers/hw_info.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "third_party/aub_stream/headers/aub_manager.h" #include "third_party/aub_stream/headers/aub_manager.h"
#include "third_party/aub_stream/headers/options.h"
#include "third_party/aub_stream/headers/modes.h" #include "third_party/aub_stream/headers/modes.h"
#include "third_party/aub_stream/headers/options.h"
namespace OCLRT { namespace OCLRT {
extern aub_stream::AubManager *createAubManager(uint32_t productFamily, uint32_t devicesCount, uint64_t memoryBankSize, bool localMemorySupported, uint32_t streamMode); extern aub_stream::AubManager *createAubManager(uint32_t productFamily, uint32_t devicesCount, uint64_t memoryBankSize, bool localMemorySupported, uint32_t streamMode);

View File

@@ -7,10 +7,11 @@
#pragma once #pragma once
#include "runtime/command_stream/aub_stream_provider.h" #include "runtime/command_stream/aub_stream_provider.h"
#include "runtime/helpers/options.h"
#include "runtime/command_stream/aub_subcapture.h" #include "runtime/command_stream/aub_subcapture.h"
#include "runtime/helpers/options.h"
#include "runtime/memory_manager/address_mapper.h" #include "runtime/memory_manager/address_mapper.h"
#include "runtime/memory_manager/physical_address_allocator.h" #include "runtime/memory_manager/physical_address_allocator.h"
#include "third_party/aub_stream/headers/aub_manager.h" #include "third_party/aub_stream/headers/aub_manager.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -6,6 +6,7 @@
*/ */
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/aub_mem_dump/aub_mem_dump.h" #include "runtime/aub_mem_dump/aub_mem_dump.h"
#include "runtime/helpers/basic_math.h" #include "runtime/helpers/basic_math.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"

View File

@@ -7,6 +7,7 @@
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "third_party/aub_stream/headers/options.h" #include "third_party/aub_stream/headers/options.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -6,9 +6,10 @@
*/ */
#include "aub_mem_dump.h" #include "aub_mem_dump.h"
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/helpers/ptr_math.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/ptr_math.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
namespace AubMemDump { namespace AubMemDump {

View File

@@ -6,8 +6,8 @@
*/ */
#pragma once #pragma once
#include <cstdio>
#include <cstdint> #include <cstdint>
#include <cstdio>
#include <fstream> #include <fstream>
#include <mutex> #include <mutex>

View File

@@ -5,11 +5,13 @@
* *
*/ */
#include "aub_mem_dump.h"
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/ptr_math.h" #include "runtime/helpers/ptr_math.h"
#include "runtime/memory_manager/memory_constants.h" #include "runtime/memory_manager/memory_constants.h"
#include "aub_mem_dump.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -8,6 +8,7 @@
#pragma once #pragma once
#include "aub_header.h" #include "aub_header.h"
#include <cstdint> #include <cstdint>
#ifndef WIN32 #ifndef WIN32

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -9,6 +9,7 @@
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/built_ins/builtins_dispatch_builder.h" #include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/helpers/dispatch_info_builder.h" #include "runtime/helpers/dispatch_info_builder.h"
#include <memory> #include <memory>
namespace OCLRT { namespace OCLRT {

View File

@@ -5,21 +5,23 @@
* *
*/ */
#include <cstdint>
#include "runtime/built_ins/aux_translation_builtin.h"
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/built_ins/aux_translation_builtin.h"
#include "runtime/built_ins/built_ins.inl" #include "runtime/built_ins/built_ins.inl"
#include "runtime/built_ins/vme_dispatch_builder.h"
#include "runtime/built_ins/sip.h" #include "runtime/built_ins/sip.h"
#include "runtime/built_ins/vme_dispatch_builder.h"
#include "runtime/compiler_interface/compiler_interface.h" #include "runtime/compiler_interface/compiler_interface.h"
#include "runtime/program/program.h"
#include "runtime/mem_obj/image.h"
#include "runtime/kernel/kernel.h"
#include "runtime/helpers/basic_math.h" #include "runtime/helpers/basic_math.h"
#include "runtime/helpers/built_ins_helper.h" #include "runtime/helpers/built_ins_helper.h"
#include "runtime/helpers/convert_color.h" #include "runtime/helpers/convert_color.h"
#include "runtime/helpers/dispatch_info_builder.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/dispatch_info_builder.h"
#include "runtime/kernel/kernel.h"
#include "runtime/mem_obj/image.h"
#include "runtime/program/program.h"
#include <cstdint>
#include <sstream> #include <sstream>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,12 +6,13 @@
*/ */
#pragma once #pragma once
#include "CL/cl.h" #include "runtime/built_ins/sip.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/properties_helper.h" #include "runtime/helpers/properties_helper.h"
#include "runtime/built_ins/sip.h"
#include "runtime/utilities/vec.h" #include "runtime/utilities/vec.h"
#include "CL/cl.h"
#include <array> #include <array>
#include <cstdint> #include <cstdint>
#include <fstream> #include <fstream>

View File

@@ -6,8 +6,8 @@
*/ */
#include "runtime/built_ins/aux_translation_builtin.h" #include "runtime/built_ins/aux_translation_builtin.h"
#include "runtime/mem_obj/buffer.h"
#include "runtime/kernel/kernel.h" #include "runtime/kernel/kernel.h"
#include "runtime/mem_obj/buffer.h"
namespace OCLRT { namespace OCLRT {
template <typename... KernelsDescArgsT> template <typename... KernelsDescArgsT>

View File

@@ -1,16 +1,18 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <cstdint>
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/built_ins/builtins_dispatch_builder.h" #include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "os_inc.h" #include "os_inc.h"
#include <cstdint>
namespace OCLRT { namespace OCLRT {
const char *getBuiltinAsString(EBuiltInOps builtin) { const char *getBuiltinAsString(EBuiltInOps builtin) {

View File

@@ -1,16 +1,17 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "CL/cl.h"
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/kernel/kernel.h" #include "runtime/kernel/kernel.h"
#include "runtime/utilities/vec.h" #include "runtime/utilities/vec.h"
#include "CL/cl.h"
#include <array> #include <array>
#include <cstdint> #include <cstdint>
#include <fstream> #include <fstream>

View File

@@ -1,30 +1,16 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include "runtime/built_ins/built_ins.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -1,13 +1,14 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <string>
#include "runtime/built_ins/registry/built_ins_registry.h" #include "runtime/built_ins/registry/built_ins_registry.h"
#include <string>
namespace OCLRT { namespace OCLRT {
static RegisterEmbeddedResource registerCopyBufferToBufferSrc( static RegisterEmbeddedResource registerCopyBufferToBufferSrc(

View File

@@ -1,28 +1,14 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include <string>
#include "runtime/built_ins/registry/built_ins_registry.h" #include "runtime/built_ins/registry/built_ins_registry.h"
#include <string>
namespace OCLRT { namespace OCLRT {
static RegisterEmbeddedResource registerVmeSrc( static RegisterEmbeddedResource registerVmeSrc(

View File

@@ -1,18 +1,19 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/built_ins/sip.h" #include "runtime/built_ins/sip.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/hw_helper.h" #include "runtime/helpers/hw_helper.h"
#include "runtime/helpers/ptr_math.h" #include "runtime/helpers/ptr_math.h"
#include "runtime/program/program.h"
#include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/string.h" #include "runtime/helpers/string.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/program/program.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -1,17 +1,19 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "CL/cl.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.inl" #include "runtime/builtin_kernels_simulation/scheduler_simulation.inl"
#include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/gen10/hw_cmds.h"
#include "runtime/execution_model/device_enqueue.h" #include "runtime/execution_model/device_enqueue.h"
#include "runtime/gen10/hw_cmds.h"
#include "runtime/memory_manager/graphics_allocation.h"
#include "CL/cl.h"
using namespace OCLRT; using namespace OCLRT;
using namespace BuiltinKernelsSimulation; using namespace BuiltinKernelsSimulation;

View File

@@ -1,18 +1,20 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "CL/cl.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.inl" #include "runtime/builtin_kernels_simulation/scheduler_simulation.inl"
#include "runtime/execution_model/device_enqueue.h" #include "runtime/execution_model/device_enqueue.h"
#include "runtime/gen8/hw_cmds.h" #include "runtime/gen8/hw_cmds.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
#include "CL/cl.h"
using namespace OCLRT; using namespace OCLRT;
using namespace BuiltinKernelsSimulation; using namespace BuiltinKernelsSimulation;

View File

@@ -1,18 +1,20 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "CL/cl.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.inl" #include "runtime/builtin_kernels_simulation/scheduler_simulation.inl"
#include "runtime/execution_model/device_enqueue.h" #include "runtime/execution_model/device_enqueue.h"
#include "runtime/gen9/hw_cmds.h" #include "runtime/gen9/hw_cmds.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
#include "CL/cl.h"
using namespace OCLRT; using namespace OCLRT;
using namespace BuiltinKernelsSimulation; using namespace BuiltinKernelsSimulation;

View File

@@ -1,13 +1,12 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <cstdint>
#include "CL/cl.h"
#include "opencl_c.h" #include "opencl_c.h"
#include "runtime/helpers/string.h" #include "runtime/helpers/string.h"
namespace BuiltinKernelsSimulation { namespace BuiltinKernelsSimulation {

View File

@@ -1,17 +1,19 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include <mutex> #include "CL/cl.h"
#include <condition_variable> #include <condition_variable>
#include <map>
#include <thread>
#include <string.h>
#include <cstdint> #include <cstdint>
#include <map>
#include <mutex>
#include <string.h>
#include <thread>
// OpenCL Types // OpenCL Types
typedef uint32_t uint; typedef uint32_t uint;

View File

@@ -1,26 +1,12 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
#include "runtime/builtin_kernels_simulation/opencl_c.h" #include "runtime/builtin_kernels_simulation/opencl_c.h"
#include <thread> #include <thread>

View File

@@ -1,29 +1,15 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#pragma once #pragma once
#include "runtime/builtin_kernels_simulation/opencl_c.h"
#include <cstdint> #include <cstdint>
#include <thread> #include <thread>
#include "runtime/builtin_kernels_simulation/opencl_c.h"
namespace OCLRT { namespace OCLRT {
class GraphicsAllocation; class GraphicsAllocation;
} }

View File

@@ -1,27 +1,12 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation */
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
#include "runtime/memory_manager/graphics_allocation.h"
#include <cstdint> #include <cstdint>
#include <mutex> #include <mutex>

View File

@@ -5,33 +5,36 @@
* *
*/ */
#include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/command_queue/command_queue.h" #include "runtime/command_queue/command_queue.h"
#include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/context/context.h" #include "runtime/context/context.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/device_queue/device_queue.h" #include "runtime/device_queue/device_queue.h"
#include "runtime/event/user_event.h"
#include "runtime/event/event_builder.h" #include "runtime/event/event_builder.h"
#include "runtime/event/user_event.h"
#include "runtime/gtpin/gtpin_notify.h" #include "runtime/gtpin/gtpin_notify.h"
#include "runtime/helpers/aligned_memory.h" #include "runtime/helpers/aligned_memory.h"
#include "runtime/helpers/array_count.h" #include "runtime/helpers/array_count.h"
#include "runtime/helpers/convert_color.h"
#include "runtime/helpers/get_info.h" #include "runtime/helpers/get_info.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/ptr_math.h" #include "runtime/helpers/ptr_math.h"
#include "runtime/helpers/queue_helpers.h"
#include "runtime/helpers/string.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/helpers/timestamp_packet.h" #include "runtime/helpers/timestamp_packet.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/memory_manager/internal_allocation_storage.h" #include "runtime/memory_manager/internal_allocation_storage.h"
#include "runtime/helpers/string.h"
#include "CL/cl_ext.h"
#include "runtime/utilities/api_intercept.h" #include "runtime/utilities/api_intercept.h"
#include "runtime/utilities/tag_allocator.h" #include "runtime/utilities/tag_allocator.h"
#include "runtime/helpers/convert_color.h"
#include "runtime/helpers/queue_helpers.h" #include "CL/cl_ext.h"
#include <map> #include <map>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,12 +6,14 @@
*/ */
#pragma once #pragma once
#include "runtime/event/event.h"
#include "runtime/helpers/base_object.h" #include "runtime/helpers/base_object.h"
#include "runtime/helpers/dispatch_info.h"
#include "runtime/helpers/engine_control.h" #include "runtime/helpers/engine_control.h"
#include "runtime/helpers/task_information.h" #include "runtime/helpers/task_information.h"
#include "runtime/helpers/dispatch_info.h"
#include "runtime/event/event.h"
#include "instrumentation.h" #include "instrumentation.h"
#include <atomic> #include <atomic>
#include <cstdint> #include <cstdint>

View File

@@ -6,16 +6,17 @@
*/ */
#pragma once #pragma once
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_queue/command_queue.h" #include "runtime/command_queue/command_queue.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_stream/preemption.h"
#include "runtime/device_queue/device_queue_hw.h" #include "runtime/device_queue/device_queue_hw.h"
#include "runtime/helpers/dispatch_info.h"
#include "runtime/helpers/engine_control.h"
#include "runtime/helpers/queue_helpers.h"
#include "runtime/mem_obj/mem_obj.h" #include "runtime/mem_obj/mem_obj.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/program/printf_handler.h" #include "runtime/program/printf_handler.h"
#include "runtime/helpers/dispatch_info.h"
#include "runtime/command_stream/preemption.h"
#include "runtime/helpers/engine_control.h"
#include "runtime/helpers/queue_helpers.h"
#include <memory> #include <memory>
namespace OCLRT { namespace OCLRT {

View File

@@ -5,27 +5,27 @@
* *
*/ */
#include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_queue/enqueue_barrier.h" #include "runtime/command_queue/enqueue_barrier.h"
#include "runtime/command_queue/enqueue_copy_buffer.h" #include "runtime/command_queue/enqueue_copy_buffer.h"
#include "runtime/command_queue/enqueue_copy_buffer_rect.h" #include "runtime/command_queue/enqueue_copy_buffer_rect.h"
#include "runtime/command_queue/enqueue_copy_buffer_to_image.h" #include "runtime/command_queue/enqueue_copy_buffer_to_image.h"
#include "runtime/command_queue/enqueue_copy_image_to_buffer.h"
#include "runtime/command_queue/enqueue_copy_image.h" #include "runtime/command_queue/enqueue_copy_image.h"
#include "runtime/command_queue/enqueue_copy_image_to_buffer.h"
#include "runtime/command_queue/enqueue_fill_buffer.h" #include "runtime/command_queue/enqueue_fill_buffer.h"
#include "runtime/command_queue/enqueue_fill_image.h" #include "runtime/command_queue/enqueue_fill_image.h"
#include "runtime/command_queue/enqueue_kernel.h" #include "runtime/command_queue/enqueue_kernel.h"
#include "runtime/command_queue/enqueue_svm.h"
#include "runtime/command_queue/enqueue_marker.h" #include "runtime/command_queue/enqueue_marker.h"
#include "runtime/command_queue/enqueue_migrate_mem_objects.h" #include "runtime/command_queue/enqueue_migrate_mem_objects.h"
#include "runtime/command_queue/enqueue_read_buffer.h" #include "runtime/command_queue/enqueue_read_buffer.h"
#include "runtime/command_queue/enqueue_read_buffer_rect.h" #include "runtime/command_queue/enqueue_read_buffer_rect.h"
#include "runtime/command_queue/enqueue_read_image.h" #include "runtime/command_queue/enqueue_read_image.h"
#include "runtime/command_queue/enqueue_svm.h"
#include "runtime/command_queue/enqueue_write_buffer.h" #include "runtime/command_queue/enqueue_write_buffer.h"
#include "runtime/command_queue/enqueue_write_buffer_rect.h" #include "runtime/command_queue/enqueue_write_buffer_rect.h"
#include "runtime/command_queue/enqueue_write_image.h" #include "runtime/command_queue/enqueue_write_image.h"
#include "runtime/command_queue/finish.h" #include "runtime/command_queue/finish.h"
#include "runtime/command_queue/flush.h" #include "runtime/command_queue/flush.h"
#include "runtime/command_queue/gpgpu_walker.h"
namespace OCLRT { namespace OCLRT {
template <typename Family> template <typename Family>

View File

@@ -6,12 +6,14 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,7 +6,6 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/built_ins/builtins_dispatch_builder.h" #include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/builtin_kernels_simulation/scheduler_simulation.h" #include "runtime/builtin_kernels_simulation/scheduler_simulation.h"
@@ -14,8 +13,8 @@
#include "runtime/command_queue/gpgpu_walker.h" #include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_queue/hardware_interface.h" #include "runtime/command_queue/hardware_interface.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/event/user_event.h"
#include "runtime/event/event_builder.h" #include "runtime/event/event_builder.h"
#include "runtime/event/user_event.h"
#include "runtime/gtpin/gtpin_notify.h" #include "runtime/gtpin/gtpin_notify.h"
#include "runtime/helpers/array_count.h" #include "runtime/helpers/array_count.h"
#include "runtime/helpers/dispatch_info_builder.h" #include "runtime/helpers/dispatch_info_builder.h"
@@ -28,10 +27,13 @@
#include "runtime/memory_manager/memory_manager.h" #include "runtime/memory_manager/memory_manager.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/os_interface/os_context.h" #include "runtime/os_interface/os_context.h"
#include "runtime/program/printf_handler.h"
#include "runtime/program/block_kernel_manager.h" #include "runtime/program/block_kernel_manager.h"
#include "runtime/program/printf_handler.h"
#include "runtime/utilities/range.h" #include "runtime/utilities/range.h"
#include "runtime/utilities/tag_allocator.h" #include "runtime/utilities/tag_allocator.h"
#include "hw_cmds.h"
#include <algorithm> #include <algorithm>
#include <new> #include <new>

View File

@@ -1,19 +1,21 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_queue/enqueue_common.h" #include "runtime/command_queue/enqueue_common.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -12,6 +12,7 @@
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,21 +1,23 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,14 +7,16 @@
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/basic_math.h" #include "runtime/helpers/basic_math.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <algorithm> #include <algorithm>
#include <new> #include <new>

View File

@@ -1,21 +1,23 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,20 +1,22 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h"
#include "runtime/memory_manager/internal_allocation_storage.h" #include "runtime/memory_manager/internal_allocation_storage.h"
#include "runtime/memory_manager/memory_manager.h" #include "runtime/memory_manager/memory_manager.h"
#include "runtime/built_ins/built_ins.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,14 +7,16 @@
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/basic_math.h" #include "runtime/helpers/basic_math.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <algorithm> #include <algorithm>
#include <new> #include <new>

View File

@@ -6,15 +6,17 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/built_ins/builtins_dispatch_builder.h" #include "runtime/built_ins/builtins_dispatch_builder.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_queue/gpgpu_walker.h" #include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/task_information.h" #include "runtime/helpers/task_information.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,13 +6,15 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_queue/gpgpu_walker.h" #include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,14 +6,15 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_queue/gpgpu_walker.h" #include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
namespace OCLRT { namespace OCLRT {
template <typename GfxFamily> template <typename GfxFamily>

View File

@@ -6,7 +6,7 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_queue/enqueue_common.h" #include "runtime/command_queue/enqueue_common.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
@@ -14,7 +14,9 @@
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,13 +6,14 @@
*/ */
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_queue/enqueue_common.h" #include "runtime/command_queue/enqueue_common.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -7,17 +7,20 @@
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/context/context.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
#include "runtime/helpers/surface_formats.h" #include "runtime/helpers/basic_math.h"
#include "runtime/helpers/cache_policy.h" #include "runtime/helpers/cache_policy.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/basic_math.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "hw_cmds.h"
#include <algorithm> #include <algorithm>
#include <new> #include <new>

View File

@@ -9,6 +9,8 @@
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_queue/enqueue_common.h" #include "runtime/command_queue/enqueue_common.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
#include "runtime/memory_manager/svm_memory_manager.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,14 +6,16 @@
*/ */
#pragma once #pragma once
#include "hw_cmds.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/string.h" #include "runtime/helpers/string.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,12 +6,13 @@
*/ */
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/mem_obj/buffer.h" #include "runtime/mem_obj/buffer.h"
#include "runtime/memory_manager/surface.h" #include "runtime/memory_manager/surface.h"
#include "runtime/built_ins/built_ins.h"
#include <new> #include <new>
namespace OCLRT { namespace OCLRT {

View File

@@ -7,14 +7,16 @@
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/basic_math.h" #include "runtime/helpers/basic_math.h"
#include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/mipmap.h" #include "runtime/helpers/mipmap.h"
#include "runtime/helpers/surface_formats.h"
#include "runtime/mem_obj/image.h" #include "runtime/mem_obj/image.h"
#include "hw_cmds.h"
#include <algorithm> #include <algorithm>
#include <new> #include <new>

View File

@@ -1,16 +1,17 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#pragma once #pragma once
#include "hw_cmds.h"
#include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_queue/command_queue_hw.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "hw_cmds.h"
namespace OCLRT { namespace OCLRT {
template <typename GfxFamily> template <typename GfxFamily>

View File

@@ -8,10 +8,10 @@
#pragma once #pragma once
#include "runtime/built_ins/built_ins.h" #include "runtime/built_ins/built_ins.h"
#include "runtime/context/context.h"
#include "runtime/command_queue/command_queue.h" #include "runtime/command_queue/command_queue.h"
#include "runtime/command_stream/linear_stream.h" #include "runtime/command_stream/linear_stream.h"
#include "runtime/command_stream/preemption.h" #include "runtime/command_stream/preemption.h"
#include "runtime/context/context.h"
#include "runtime/device_queue/device_queue_hw.h" #include "runtime/device_queue/device_queue_hw.h"
#include "runtime/event/hw_timestamps.h" #include "runtime/event/hw_timestamps.h"
#include "runtime/event/perf_counter.h" #include "runtime/event/perf_counter.h"

View File

@@ -6,23 +6,25 @@
*/ */
#pragma once #pragma once
#include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_queue/command_queue.h" #include "runtime/command_queue/command_queue.h"
#include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_queue/local_id_gen.h" #include "runtime/command_queue/local_id_gen.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/device/device_info.h" #include "runtime/device/device_info.h"
#include "runtime/event/perf_counter.h" #include "runtime/event/perf_counter.h"
#include "runtime/event/user_event.h" #include "runtime/event/user_event.h"
#include "runtime/indirect_heap/indirect_heap.h"
#include "instrumentation.h"
#include "runtime/helpers/aligned_memory.h" #include "runtime/helpers/aligned_memory.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/hw_helper.h" #include "runtime/helpers/hw_helper.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/validators.h" #include "runtime/helpers/validators.h"
#include "runtime/indirect_heap/indirect_heap.h"
#include "runtime/mem_obj/mem_obj.h" #include "runtime/mem_obj/mem_obj.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
#include "runtime/utilities/tag_allocator.h" #include "runtime/utilities/tag_allocator.h"
#include "instrumentation.h"
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>

View File

@@ -6,8 +6,10 @@
*/ */
#pragma once #pragma once
#include "CL/cl.h"
#include "runtime/command_stream/preemption_mode.h" #include "runtime/command_stream/preemption_mode.h"
#include "CL/cl.h"
#include <cstdint> #include <cstdint>
namespace OCLRT { namespace OCLRT {

View File

@@ -7,9 +7,9 @@
#pragma once #pragma once
#include "runtime/command_queue/hardware_interface.h" #include "runtime/command_queue/hardware_interface.h"
#include "runtime/memory_manager/internal_allocation_storage.h"
#include "runtime/helpers/kernel_commands.h" #include "runtime/helpers/kernel_commands.h"
#include "runtime/helpers/task_information.h" #include "runtime/helpers/task_information.h"
#include "runtime/memory_manager/internal_allocation_storage.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -1,11 +1,12 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/command_queue/local_id_gen.h" #include "runtime/command_queue/local_id_gen.h"
#include "runtime/helpers/aligned_memory.h" #include "runtime/helpers/aligned_memory.h"
#include "runtime/utilities/cpu_info.h" #include "runtime/utilities/cpu_info.h"

View File

@@ -1,23 +1,8 @@
/* /*
* Copyright (c) 2017, Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * SPDX-License-Identifier: MIT
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "runtime/context/context.h" #include "runtime/context/context.h"
@@ -26,9 +11,10 @@
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/dispatch_info.h" #include "runtime/helpers/dispatch_info.h"
#include "runtime/kernel/kernel.h" #include "runtime/kernel/kernel.h"
#include <algorithm> #include <algorithm>
#include <cstdint>
#include <cmath> #include <cmath>
#include <cstdint>
#include <ctime> #include <ctime>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,11 +6,13 @@
*/ */
#include "runtime/command_stream/aub_command_stream_receiver.h" #include "runtime/command_stream/aub_command_stream_receiver.h"
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/hw_info.h" #include "runtime/helpers/hw_info.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/memory_manager/os_agnostic_memory_manager.h" #include "runtime/memory_manager/os_agnostic_memory_manager.h"
#include "runtime/os_interface/os_inc_base.h" #include "runtime/os_interface/os_inc_base.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include <sstream> #include <sstream>

View File

@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "runtime/aub_mem_dump/aub_mem_dump.h" #include "runtime/aub_mem_dump/aub_mem_dump.h"
#include <string> #include <string>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,17 +6,18 @@
*/ */
#pragma once #pragma once
#include "runtime/gen_common/aub_mapper.h"
#include "command_stream_receiver_simulated_hw.h"
#include "runtime/aub/aub_center.h" #include "runtime/aub/aub_center.h"
#include "runtime/command_stream/aub_command_stream_receiver.h" #include "runtime/command_stream/aub_command_stream_receiver.h"
#include "runtime/gen_common/aub_mapper.h"
#include "runtime/helpers/array_count.h" #include "runtime/helpers/array_count.h"
#include "runtime/memory_manager/address_mapper.h" #include "runtime/memory_manager/address_mapper.h"
#include "runtime/memory_manager/os_agnostic_memory_manager.h"
#include "runtime/memory_manager/page_table.h" #include "runtime/memory_manager/page_table.h"
#include "runtime/memory_manager/physical_address_allocator.h" #include "runtime/memory_manager/physical_address_allocator.h"
#include "runtime/memory_manager/os_agnostic_memory_manager.h"
#include "runtime/utilities/spinlock.h" #include "runtime/utilities/spinlock.h"
#include "command_stream_receiver_simulated_hw.h"
namespace OCLRT { namespace OCLRT {
class AubSubCaptureManager; class AubSubCaptureManager;

View File

@@ -5,7 +5,6 @@
* *
*/ */
#include "hw_cmds.h"
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/aub_mem_dump/aub_alloc_dump.h" #include "runtime/aub_mem_dump/aub_alloc_dump.h"
#include "runtime/aub_mem_dump/aub_alloc_dump.inl" #include "runtime/aub_mem_dump/aub_alloc_dump.inl"
@@ -25,12 +24,14 @@
#include "runtime/memory_manager/os_agnostic_memory_manager.h" #include "runtime/memory_manager/os_agnostic_memory_manager.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "runtime/os_interface/os_context.h" #include "runtime/os_interface/os_context.h"
#include "aub_command_stream_receiver_hw.h"
#include "driver_version.h" #include "driver_version.h"
#include "hw_cmds.h"
#include "third_party/aub_stream/headers/aub_manager.h" #include "third_party/aub_stream/headers/aub_manager.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include "aub_command_stream_receiver_hw.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "runtime/aub_mem_dump/aub_mem_dump.h" #include "runtime/aub_mem_dump/aub_mem_dump.h"
#include <string> #include <string>
namespace OCLRT { namespace OCLRT {

View File

@@ -1,11 +1,12 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/command_stream/aub_subcapture.h" #include "runtime/command_stream/aub_subcapture.h"
#include "runtime/helpers/dispatch_info.h" #include "runtime/helpers/dispatch_info.h"
#include "runtime/kernel/kernel.h" #include "runtime/kernel/kernel.h"
#include "runtime/utilities/debug_settings_reader.h" #include "runtime/utilities/debug_settings_reader.h"

View File

@@ -5,8 +5,9 @@
* *
*/ */
#include "runtime/built_ins/built_ins.h"
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/built_ins/built_ins.h"
#include "runtime/command_stream/experimental_command_buffer.h" #include "runtime/command_stream/experimental_command_buffer.h"
#include "runtime/command_stream/preemption.h" #include "runtime/command_stream/preemption.h"
#include "runtime/command_stream/scratch_space_controller.h" #include "runtime/command_stream/scratch_space_controller.h"

View File

@@ -17,6 +17,7 @@
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/indirect_heap/indirect_heap.h" #include "runtime/indirect_heap/indirect_heap.h"
#include "runtime/kernel/grf_config.h" #include "runtime/kernel/grf_config.h"
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>

View File

@@ -7,10 +7,10 @@
#pragma once #pragma once
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/helpers/csr_deps.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/helpers/dirty_state_helpers.h"
#include "runtime/gen_common/hw_cmds.h" #include "runtime/gen_common/hw_cmds.h"
#include "runtime/helpers/csr_deps.h"
#include "runtime/helpers/dirty_state_helpers.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -5,9 +5,11 @@
* *
*/ */
#include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/command_stream/command_stream_receiver_hw.h" #include "runtime/command_stream/command_stream_receiver_hw.h"
#include "runtime/command_stream/experimental_command_buffer.h" #include "runtime/command_stream/experimental_command_buffer.h"
#include "runtime/command_stream/linear_stream.h" #include "runtime/command_stream/linear_stream.h"
#include "runtime/command_stream/preemption.h"
#include "runtime/command_stream/scratch_space_controller_base.h" #include "runtime/command_stream/scratch_space_controller_base.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/event/event.h" #include "runtime/event/event.h"
@@ -26,8 +28,6 @@
#include "runtime/memory_manager/memory_manager.h" #include "runtime/memory_manager/memory_manager.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "runtime/os_interface/os_context.h" #include "runtime/os_interface/os_context.h"
#include "runtime/command_stream/preemption.h"
#include "runtime/command_queue/gpgpu_walker.h"
#include "runtime/utilities/tag_allocator.h" #include "runtime/utilities/tag_allocator.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -9,6 +9,7 @@
#include "runtime/command_stream/command_stream_receiver_hw.h" #include "runtime/command_stream/command_stream_receiver_hw.h"
#include "runtime/gen_common/aub_mapper.h" #include "runtime/gen_common/aub_mapper.h"
#include "runtime/memory_manager/memory_banks.h" #include "runtime/memory_manager/memory_banks.h"
#include "third_party/aub_stream/headers/hardware_context.h" #include "third_party/aub_stream/headers/hardware_context.h"
namespace aub_stream { namespace aub_stream {

View File

@@ -8,15 +8,16 @@
#include "runtime/aub/aub_helper.h" #include "runtime/aub/aub_helper.h"
#include "runtime/aub_mem_dump/page_table_entry_bits.h" #include "runtime/aub_mem_dump/page_table_entry_bits.h"
#include "runtime/command_stream/command_stream_receiver_simulated_common_hw.h" #include "runtime/command_stream/command_stream_receiver_simulated_common_hw.h"
#include "runtime/helpers/hardware_context_controller.h"
#include "runtime/gmm_helper/gmm.h" #include "runtime/gmm_helper/gmm.h"
#include "runtime/gmm_helper/gmm_helper.h" #include "runtime/gmm_helper/gmm_helper.h"
#include "runtime/gmm_helper/resource_info.h" #include "runtime/gmm_helper/resource_info.h"
#include "runtime/helpers/hardware_context_controller.h"
#include "runtime/memory_manager/memory_manager.h" #include "runtime/memory_manager/memory_manager.h"
#include "runtime/os_interface/debug_settings_manager.h" #include "runtime/os_interface/debug_settings_manager.h"
#include "runtime/os_interface/os_context.h" #include "runtime/os_interface/os_context.h"
#include "third_party/aub_stream/headers/aub_manager.h"
#include "aub_mapper.h" #include "aub_mapper.h"
#include "third_party/aub_stream/headers/aub_manager.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "runtime/command_stream/command_stream_receiver.h" #include "runtime/command_stream/command_stream_receiver.h"
#include <memory> #include <memory>
namespace OCLRT { namespace OCLRT {

View File

@@ -6,8 +6,9 @@
*/ */
#include "runtime/aub/aub_center.h" #include "runtime/aub/aub_center.h"
#include "runtime/command_stream/command_stream_receiver_with_aub_dump.h"
#include "runtime/command_stream/aub_command_stream_receiver.h" #include "runtime/command_stream/aub_command_stream_receiver.h"
#include "runtime/command_stream/command_stream_receiver_with_aub_dump.h"
#include "runtime/execution_environment/execution_environment.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -6,11 +6,11 @@
*/ */
#include "runtime/command_stream/aub_command_stream_receiver.h" #include "runtime/command_stream/aub_command_stream_receiver.h"
#include "runtime/command_stream/tbx_command_stream_receiver.h"
#include "runtime/command_stream/command_stream_receiver_with_aub_dump.h" #include "runtime/command_stream/command_stream_receiver_with_aub_dump.h"
#include "runtime/os_interface/device_factory.h" #include "runtime/command_stream/tbx_command_stream_receiver.h"
#include "runtime/gmm_helper/gmm_helper.h" #include "runtime/gmm_helper/gmm_helper.h"
#include "runtime/helpers/options.h" #include "runtime/helpers/options.h"
#include "runtime/os_interface/device_factory.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -6,11 +6,12 @@
*/ */
#pragma once #pragma once
#include "runtime/memory_manager/memory_constants.h"
#include "runtime/helpers/csr_deps.h" #include "runtime/helpers/csr_deps.h"
#include "runtime/helpers/hw_info.h" #include "runtime/helpers/hw_info.h"
#include "runtime/helpers/properties_helper.h" #include "runtime/helpers/properties_helper.h"
#include "runtime/kernel/grf_config.h" #include "runtime/kernel/grf_config.h"
#include "runtime/memory_manager/memory_constants.h"
#include <limits> #include <limits>
namespace OCLRT { namespace OCLRT {

View File

@@ -5,12 +5,14 @@
* *
*/ */
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_stream/experimental_command_buffer.h" #include "runtime/command_stream/experimental_command_buffer.h"
#include "runtime/command_stream/command_stream_receiver.h"
#include "runtime/command_stream/linear_stream.h" #include "runtime/command_stream/linear_stream.h"
#include "runtime/memory_manager/internal_allocation_storage.h" #include "runtime/memory_manager/internal_allocation_storage.h"
#include "runtime/memory_manager/memory_constants.h" #include "runtime/memory_manager/memory_constants.h"
#include "runtime/memory_manager/memory_manager.h" #include "runtime/memory_manager/memory_manager.h"
#include <cstring> #include <cstring>
#include <type_traits> #include <type_traits>

View File

@@ -1,11 +1,12 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/command_stream/linear_stream.h" #include "runtime/command_stream/linear_stream.h"
#include "runtime/memory_manager/graphics_allocation.h" #include "runtime/memory_manager/graphics_allocation.h"
namespace OCLRT { namespace OCLRT {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017-2018 Intel Corporation * Copyright (C) 2017-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
@@ -8,9 +8,10 @@
#pragma once #pragma once
#include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/debug_helpers.h"
#include "runtime/helpers/ptr_math.h" #include "runtime/helpers/ptr_math.h"
#include <atomic>
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>
#include <atomic>
namespace OCLRT { namespace OCLRT {
class GraphicsAllocation; class GraphicsAllocation;

View File

@@ -1,12 +1,13 @@
/* /*
* Copyright (C) 2018 Intel Corporation * Copyright (C) 2018-2019 Intel Corporation
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include "runtime/built_ins/built_ins.h"
#include "runtime/command_stream/preemption.h" #include "runtime/command_stream/preemption.h"
#include "runtime/built_ins/built_ins.h"
#include "runtime/device/device.h" #include "runtime/device/device.h"
#include "runtime/helpers/dispatch_info.h" #include "runtime/helpers/dispatch_info.h"
#include "runtime/helpers/string.h" #include "runtime/helpers/string.h"

View File

@@ -9,6 +9,7 @@
#include "runtime/command_stream/linear_stream.h" #include "runtime/command_stream/linear_stream.h"
#include "runtime/command_stream/preemption_mode.h" #include "runtime/command_stream/preemption_mode.h"
#include "runtime/helpers/hw_info.h" #include "runtime/helpers/hw_info.h"
#include "sku_info.h" #include "sku_info.h"
namespace OCLRT { namespace OCLRT {

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