mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Changing include paths
Change-Id: I3b878463289083c956382e68da3473788cf5c15f
This commit is contained in:
committed by
Jaroslaw Chodor
parent
05210b203b
commit
8f44a95ca0
@@ -9,6 +9,7 @@ if(WIN32)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 3.2.0 FATAL_ERROR)
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
|
||||
# Include custom configs
|
||||
@@ -102,6 +103,9 @@ if(NOT DEFINED NEO_SOURCE_DIR)
|
||||
set(NEO_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
set(NEO_RUNTIME_SUB_DIR "runtime")
|
||||
set(NEO_RUNTIME_SOURCE_DIR "${NEO_SOURCE_DIR}/${NEO_RUNTIME_SUB_DIR}")
|
||||
|
||||
# Set the core source directory
|
||||
if(NOT DEFINED NEO_CORE_DIRECTORY)
|
||||
set(NEO_CORE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/core)
|
||||
@@ -550,6 +554,8 @@ else()
|
||||
endif()
|
||||
message(STATUS "Engine node dir: ${ENGINE_NODE_DIR}")
|
||||
|
||||
include_directories(runtime)
|
||||
|
||||
add_definitions(-DGMM_OCL)
|
||||
|
||||
# We want to organize our IDE targets into folders
|
||||
@@ -783,12 +789,12 @@ include_directories(${NEO_SOURCE_DIR}/core/gmm_helper/windows/gmm_memory${BRANCH
|
||||
include_directories(${NEO_SOURCE_DIR}/core/memory_manager/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/core/memory_properties${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/core/sku_info/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/built_ins/builtinops${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/command_queue/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/command_stream/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/gen_common/reg_configs${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/mem_obj/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/memory_manager/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/built_ins/builtinops${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/command_queue/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/command_stream/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/gen_common/reg_configs${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/mem_obj/definitions${BRANCH_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/memory_manager/definitions${BRANCH_DIR_SUFFIX})
|
||||
|
||||
|
||||
if(HAVE_INSTRUMENTATION)
|
||||
@@ -798,7 +804,7 @@ if(HAVE_INSTRUMENTATION)
|
||||
else()
|
||||
set(NEO__INSTRUMENTATION_DIR_SUFFIX "/")
|
||||
endif()
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/instrumentation${NEO__INSTRUMENTATION_DIR_SUFFIX})
|
||||
include_directories(${NEO_RUNTIME_SOURCE_DIR}/instrumentation${NEO__INSTRUMENTATION_DIR_SUFFIX})
|
||||
|
||||
# Define where to put binaries
|
||||
set(TargetDir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
@@ -833,9 +839,9 @@ macro(generate_runtime_lib LIB_NAME MOCKABLE GENERATE_EXEC)
|
||||
set(NEO_CORE_LIB ${NEO_CORE_RELEASE_LIB_NAME})
|
||||
endif()
|
||||
if(NOT BUILD_WITHOUT_RUNTIME)
|
||||
add_subdirectory(runtime "${NEO_BUILD_DIR}/${LIB_NAME}")
|
||||
add_subdirectory(${NEO_RUNTIME_SUB_DIR} "${NEO_BUILD_DIR}/${LIB_NAME}")
|
||||
else()
|
||||
add_subdirectory(runtime "${NEO_BUILD_DIR}/${LIB_NAME}" EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(${NEO_RUNTIME_SUB_DIR} "${NEO_BUILD_DIR}/${LIB_NAME}" EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
target_compile_definitions(${BUILTINS_SOURCES_LIB_NAME} PUBLIC MOCKABLE_VIRTUAL=)
|
||||
target_compile_definitions(${BUILTINS_VME_LIB_NAME} PUBLIC MOCKABLE_VIRTUAL=)
|
||||
@@ -900,7 +906,7 @@ endif()
|
||||
configure_file(driver_version.h.in ${NEO_BUILD_DIR}/driver_version.h) # Put Driver version into define
|
||||
configure_file(lib_names.h.in ${NEO_BUILD_DIR}/lib_names.h)
|
||||
|
||||
hide_subdir(runtime)
|
||||
hide_subdir(${NEO_RUNTIME_SUB_DIR})
|
||||
add_subdirectories()
|
||||
|
||||
if(NEO_BUILD_PACKAGE)
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
#include "core/helpers/simd_helper.h"
|
||||
#include "core/helpers/string.h"
|
||||
#include "core/kernel/dispatch_kernel_encoder_interface.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
#include "core/helpers/simd_helper.h"
|
||||
#include "core/helpers/state_base_address.h"
|
||||
#include "core/kernel/dispatch_kernel_encoder_interface.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
#include "core/os_interface/os_interface.h"
|
||||
#include "core/utilities/cpuintrinsics.h"
|
||||
#include "core/utilities/tag_allocator.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
|
||||
#include "core/device/device.h"
|
||||
#include "core/helpers/string.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "runtime/helpers/dispatch_info.h"
|
||||
#include "runtime/kernel/kernel.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
#include "helpers/dispatch_info.h"
|
||||
#include "kernel/kernel.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
#include "core/device/device.h"
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "runtime/built_ins/sip.h"
|
||||
#include "runtime/command_queue/gpgpu_walker.h"
|
||||
|
||||
#include "built_ins/sip.h"
|
||||
#include "command_queue/gpgpu_walker.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/device/device.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "runtime/os_interface/os_inc_base.h"
|
||||
|
||||
#include "cif/common/cif_main.h"
|
||||
#include "cif/helpers/error.h"
|
||||
@@ -21,6 +20,7 @@
|
||||
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
|
||||
#include "ocl_igc_interface/igc_ocl_device_ctx.h"
|
||||
#include "ocl_igc_interface/platform_helper.h"
|
||||
#include "os_interface/os_inc_base.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "core/os_interface/os_library.h"
|
||||
#include "core/utilities/arrayref.h"
|
||||
#include "core/utilities/spinlock.h"
|
||||
#include "runtime/built_ins/sip.h"
|
||||
|
||||
#include "built_ins/sip.h"
|
||||
#include "cif/common/cif_main.h"
|
||||
#include "ocl_igc_interface/code_type.h"
|
||||
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
#include "core/os_interface/os_library.h"
|
||||
#include "runtime/helpers/validators.h"
|
||||
|
||||
#include "cif/builtins/memory/buffer/buffer.h"
|
||||
#include "cif/common/cif.h"
|
||||
#include "cif/import/library_api.h"
|
||||
#include "helpers/validators.h"
|
||||
#include "ocl_igc_interface/ocl_translation_output.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
#include "core/os_interface/os_context.h"
|
||||
#include "core/os_interface/os_interface.h"
|
||||
#include "core/os_interface/os_time.h"
|
||||
#include "runtime/device/driver_info.h"
|
||||
#include "runtime/source_level_debugger/source_level_debugger.h"
|
||||
|
||||
#include "device/driver_info.h"
|
||||
#include "source_level_debugger/source_level_debugger.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -10,8 +10,9 @@
|
||||
#include "core/helpers/common_types.h"
|
||||
#include "core/helpers/engine_control.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "runtime/device/device_info.h"
|
||||
#include "runtime/os_interface/performance_counters.h"
|
||||
|
||||
#include "device/device_info.h"
|
||||
#include "os_interface/performance_counters.h"
|
||||
|
||||
namespace NEO {
|
||||
class DriverInfo;
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
#include "core/device_binary_format/patchtokens_validator.h"
|
||||
#include "core/helpers/debug_helpers.h"
|
||||
#include "core/program/program_info_from_patchtokens.h"
|
||||
#include "runtime/utilities/logger.h"
|
||||
|
||||
#include "utilities/logger.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
#include "core/device_binary_format/patchtokens_decoder.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "runtime/program/kernel_arg_info.h"
|
||||
|
||||
#include "igfxfmid.h"
|
||||
#include "program/kernel_arg_info.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
#include "core/execution_environment/root_device_environment.h"
|
||||
#include "core/gmm_helper/gmm_helper.h"
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "runtime/memory_manager/os_agnostic_memory_manager.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
#include "memory_manager/os_agnostic_memory_manager.h"
|
||||
|
||||
namespace NEO {
|
||||
ExecutionEnvironment::ExecutionEnvironment() {
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
#include "core/gmm_helper/page_table_mngr.h"
|
||||
#include "core/memory_manager/memory_operations_handler.h"
|
||||
#include "core/os_interface/os_interface.h"
|
||||
#include "runtime/aub/aub_center.h"
|
||||
|
||||
#include "aub/aub_center.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include "core/command_container/command_encoder.inl"
|
||||
#include "core/command_container/command_encoder_base.inl"
|
||||
#include "core/gen11/hw_cmds_base.h"
|
||||
#include "runtime/gen11/reg_configs.h"
|
||||
|
||||
#include "gen11/reg_configs.h"
|
||||
namespace NEO {
|
||||
|
||||
using Family = ICLFamily;
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "core/gen11/hw_cmds.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
#include "runtime/helpers/enable_product.inl"
|
||||
|
||||
#include "helpers/enable_product.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include "core/command_container/command_encoder.inl"
|
||||
#include "core/command_container/command_encoder_base.inl"
|
||||
#include "core/gen12lp/hw_cmds_base.h"
|
||||
#include "runtime/gen12lp/reg_configs.h"
|
||||
|
||||
#include "gen12lp/reg_configs.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "core/gen12lp/hw_cmds.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
#include "runtime/helpers/enable_product.inl"
|
||||
|
||||
#include "helpers/enable_product.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
#include "core/command_stream/csr_definitions.h"
|
||||
#include "core/helpers/engine_node_helper.h"
|
||||
#include "core/helpers/preamble_bdw_plus.inl"
|
||||
#include "runtime/gen12lp/helpers_gen12lp.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
|
||||
#include "gen12lp/helpers_gen12lp.h"
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
#include "reg_configs_common.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include "core/command_container/command_encoder.inl"
|
||||
#include "core/command_container/command_encoder_base.inl"
|
||||
#include "core/gen8/hw_cmds_base.h"
|
||||
#include "runtime/gen8/reg_configs.h"
|
||||
|
||||
#include "gen8/reg_configs.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "core/gen8/hw_cmds.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
#include "runtime/helpers/enable_product.inl"
|
||||
|
||||
#include "helpers/enable_product.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include "core/command_container/command_encoder.inl"
|
||||
#include "core/command_container/command_encoder_base.inl"
|
||||
#include "core/gen9/hw_cmds_base.h"
|
||||
#include "runtime/gen9/reg_configs.h"
|
||||
|
||||
#include "gen9/reg_configs.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#include "core/gen9/hw_cmds.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
#include "runtime/helpers/enable_product.inl"
|
||||
|
||||
#include "helpers/enable_product.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
#include "core/command_stream/csr_definitions.h"
|
||||
#include "core/command_stream/preemption.h"
|
||||
#include "core/command_stream/preemption.inl"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -8,7 +8,8 @@
|
||||
#pragma once
|
||||
#include "core/helpers/debug_helpers.h"
|
||||
#include "core/memory_manager/memory_constants.h"
|
||||
#include "runtime/utilities/logger.h"
|
||||
|
||||
#include "utilities/logger.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace NEO {
|
||||
|
||||
enum class AuxTranslationDirection {
|
||||
|
||||
@@ -9,9 +9,10 @@
|
||||
#include "core/command_stream/linear_stream.h"
|
||||
#include "core/helpers/aux_translation.h"
|
||||
#include "core/helpers/hw_cmds.h"
|
||||
#include "runtime/built_ins/sip.h"
|
||||
#include "runtime/gen_common/aub_mapper.h"
|
||||
#include "runtime/mem_obj/buffer.h"
|
||||
|
||||
#include "built_ins/sip.h"
|
||||
#include "gen_common/aub_mapper.h"
|
||||
#include "mem_obj/buffer.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "core/memory_manager/memory_constants.h"
|
||||
#include "core/os_interface/os_interface.h"
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
#include "runtime/helpers/dispatch_info.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
#include "helpers/dispatch_info.h"
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
#include "instrumentation.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#include "core/helpers/aligned_memory.h"
|
||||
#include "core/helpers/hw_cmds.h"
|
||||
#include "core/helpers/preamble.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
#include "runtime/kernel/kernel.h"
|
||||
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
#include "kernel/kernel.h"
|
||||
#include "reg_configs_common.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace NEO {
|
||||
template <typename GfxFamily>
|
||||
inline void setImageSurfaceState(typename GfxFamily::RENDER_SURFACE_STATE *surfaceState, const NEO::ImageInfo &imageInfo, NEO::Gmm *gmm, NEO::GmmHelper &gmmHelper, uint32_t cubeFaceIndex, uint64_t gpuAddress, const NEO::SurfaceOffsets &surfaceOffsets, bool isNV12Format) {
|
||||
inline void setImageSurfaceState(typename GfxFamily::RENDER_SURFACE_STATE *surfaceState, const ImageInfo &imageInfo, Gmm *gmm, GmmHelper &gmmHelper, uint32_t cubeFaceIndex, uint64_t gpuAddress, const SurfaceOffsets &surfaceOffsets, bool isNV12Format) {
|
||||
using RENDER_SURFACE_STATE = typename GfxFamily::RENDER_SURFACE_STATE;
|
||||
using SURFACE_FORMAT = typename RENDER_SURFACE_STATE::SURFACE_FORMAT;
|
||||
using AUXILIARY_SURFACE_MODE = typename RENDER_SURFACE_STATE::AUXILIARY_SURFACE_MODE;
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
|
||||
#include "core/helpers/aligned_memory.h"
|
||||
#include "core/memory_manager/memory_manager.h"
|
||||
#include "runtime/utilities/logger.h"
|
||||
|
||||
#include "utilities/logger.h"
|
||||
|
||||
namespace NEO {
|
||||
void GraphicsAllocation::setAllocationType(AllocationType allocationType) {
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include "core/command_stream/command_stream_receiver.h"
|
||||
#include "core/helpers/aligned_memory.h"
|
||||
#include "core/memory_manager/memory_manager.h"
|
||||
#include "runtime/mem_obj/mem_obj_helper.h"
|
||||
|
||||
#include "mem_obj/mem_obj_helper.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace NEO {
|
||||
struct MemoryFlags {
|
||||
uint32_t readWrite : 1;
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
#include "core/os_interface/aub_memory_operations_handler.h"
|
||||
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#include "core/os_interface/aub_memory_operations_handler.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
#include "core/os_interface/os_interface.h"
|
||||
#include "runtime/aub/aub_center.h"
|
||||
|
||||
#include "aub/aub_center.h"
|
||||
#include "hw_device_id.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
#include "core/os_interface/linux/drm_buffer_object.h"
|
||||
#include "core/os_interface/linux/drm_memory_manager.h"
|
||||
#include "core/os_interface/os_thread.h"
|
||||
#include "runtime/os_interface/linux/drm_command_stream.h"
|
||||
|
||||
#include "os_interface/linux/drm_command_stream.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <iostream>
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#include "core/gmm_helper/gmm_helper.h"
|
||||
#include "core/gmm_helper/page_table_mngr.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
|
||||
#include "gmm_client_context.h"
|
||||
#include "platform/platform.h"
|
||||
|
||||
namespace NEO {
|
||||
GmmPageTableMngr::GmmPageTableMngr(GmmClientContext *gmmClientContext, unsigned int translationTableFlags, GMM_TRANSLATIONTABLE_CALLBACKS *translationTableCb) : clientContext(gmmClientContext->getHandle()) {
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
#include "core/gmm_helper/gmm_helper.h"
|
||||
#include "core/gmm_helper/page_table_mngr.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
|
||||
#include "gmm_client_context.h"
|
||||
#include "platform/platform.h"
|
||||
|
||||
namespace NEO {
|
||||
GmmPageTableMngr::GmmPageTableMngr(GmmClientContext *gmmClientContext, unsigned int translationTableFlags, GMM_TRANSLATIONTABLE_CALLBACKS *translationTableCb) : clientContext(gmmClientContext->getHandle()) {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "core/program/program_info.h"
|
||||
|
||||
#include "runtime/program/kernel_info.h"
|
||||
#include "program/kernel_info.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/device_binary_format/patchtokens_decoder.h"
|
||||
#include "core/program/program_info.h"
|
||||
#include "runtime/program/kernel_info.h"
|
||||
#include "runtime/program/kernel_info_from_patchtokens.h"
|
||||
|
||||
#include "program/kernel_info.h"
|
||||
#include "program/kernel_info_from_patchtokens.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include "core/command_stream/command_stream_receiver.h"
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "core/memory_manager/memory_manager.h"
|
||||
#include "runtime/kernel/kernel.h"
|
||||
|
||||
#include "kernel/kernel.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -11,13 +11,14 @@
|
||||
#include "core/helpers/hash.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/helpers/string.h"
|
||||
#include "runtime/compiler_interface/default_cl_cache_config.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/fixtures/device_fixture.h"
|
||||
#include "unit_tests/global_environment.h"
|
||||
#include "unit_tests/mocks/mock_context.h"
|
||||
#include "unit_tests/mocks/mock_program.h"
|
||||
|
||||
#include "compiler_interface/default_cl_cache_config.h"
|
||||
|
||||
#include <array>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
@@ -8,9 +8,10 @@
|
||||
#include "core/helpers/ptr_math.h"
|
||||
#include "core/unit_tests/fixtures/command_container_fixture.h"
|
||||
#include "core/unit_tests/mocks/mock_dispatch_kernel_encoder_interface.h"
|
||||
#include "runtime/helpers/hardware_commands_helper.h"
|
||||
#include "unit_tests/gen_common/gen_cmd_parse.h"
|
||||
|
||||
#include "helpers/hardware_commands_helper.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using CommandEncodeStatesTest = Test<CommandEncodeStatesFixture>;
|
||||
|
||||
@@ -9,11 +9,6 @@
|
||||
|
||||
#include "core/command_stream/preemption.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "runtime/command_queue/enqueue_common.h"
|
||||
#include "runtime/command_queue/enqueue_kernel.h"
|
||||
#include "runtime/command_queue/enqueue_marker.h"
|
||||
#include "runtime/helpers/dispatch_info.h"
|
||||
#include "runtime/scheduler/scheduler_kernel.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/fixtures/hello_world_fixture.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
@@ -22,7 +17,12 @@
|
||||
#include "unit_tests/mocks/mock_device.h"
|
||||
#include "unit_tests/mocks/mock_kernel.h"
|
||||
|
||||
#include "command_queue/enqueue_common.h"
|
||||
#include "command_queue/enqueue_kernel.h"
|
||||
#include "command_queue/enqueue_marker.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "helpers/dispatch_info.h"
|
||||
#include "scheduler/scheduler_kernel.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "core/unit_tests/fixtures/preemption_fixture.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
#include "unit_tests/mocks/mock_buffer.h"
|
||||
#include "unit_tests/mocks/mock_command_queue.h"
|
||||
#include "unit_tests/mocks/mock_csr.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using Gen11PreemptionTests = DevicePreemptionTests;
|
||||
|
||||
@@ -8,9 +8,10 @@
|
||||
#include "core/command_stream/thread_arbitration_policy.h"
|
||||
#include "core/helpers/preamble.h"
|
||||
#include "core/unit_tests/preamble/preamble_fixture.h"
|
||||
#include "runtime/gen8/reg_configs.h"
|
||||
#include "unit_tests/fixtures/platform_fixture.h"
|
||||
|
||||
#include "gen8/reg_configs.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef PreambleFixture BdwSlm;
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
#include "core/helpers/preamble.h"
|
||||
#include "core/unit_tests/helpers/debug_manager_state_restore.h"
|
||||
#include "core/unit_tests/preamble/preamble_fixture.h"
|
||||
#include "runtime/gen9/reg_configs.h"
|
||||
#include "unit_tests/gen_common/gen_cmd_parse.h"
|
||||
|
||||
#include "gen9/reg_configs.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
typedef PreambleFixture SklSlm;
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "core/command_stream/preemption.h"
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "core/unit_tests/fixtures/preemption_fixture.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "unit_tests/command_queue/enqueue_fixture.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
#include "unit_tests/mocks/mock_buffer.h"
|
||||
@@ -16,6 +15,8 @@
|
||||
#include "unit_tests/mocks/mock_csr.h"
|
||||
#include "unit_tests/mocks/mock_submissions_aggregator.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/helpers/hash.h"
|
||||
#include "runtime/helpers/string_helpers.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "helpers/string_helpers.h"
|
||||
|
||||
using NEO::Hash;
|
||||
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
#include "core/image/image_surface_state.h"
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "core/memory_manager/surface.h"
|
||||
#include "runtime/helpers/surface_formats.h"
|
||||
#include "runtime/kernel/kernel.h"
|
||||
#include "runtime/mem_obj/image.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/fixtures/device_fixture.h"
|
||||
#include "unit_tests/fixtures/image_fixture.h"
|
||||
@@ -22,6 +19,10 @@
|
||||
#include "unit_tests/mocks/mock_gmm_resource_info.h"
|
||||
#include "unit_tests/mocks/mock_graphics_allocation.h"
|
||||
|
||||
#include "helpers/surface_formats.h"
|
||||
#include "kernel/kernel.h"
|
||||
#include "mem_obj/image.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
class ImageSurfaceStateTests : public DeviceFixture,
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "unit_tests/libult/ult_command_stream_receiver.h"
|
||||
|
||||
#include "helpers/base_object.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef ICLFamily Family;
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "unit_tests/libult/ult_command_stream_receiver.h"
|
||||
|
||||
#include "helpers/base_object.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef TGLLPFamily Family;
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "unit_tests/libult/ult_command_stream_receiver.h"
|
||||
|
||||
#include "helpers/base_object.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef BDWFamily Family;
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "unit_tests/libult/ult_command_stream_receiver.h"
|
||||
|
||||
#include "helpers/base_object.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef SKLFamily Family;
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
#include "core/unit_tests/os_interface/aub_memory_operations_handler_tests.h"
|
||||
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
#include "unit_tests/mocks/mock_aub_manager.h"
|
||||
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
TEST_F(AubMemoryOperationsHandlerTests, givenNullPtrAsAubManagerWhenMakeResidentCalledThenFalseReturned) {
|
||||
getMemoryOperationsHandler()->setAubManager(nullptr);
|
||||
auto memoryOperationsInterface = getMemoryOperationsHandler();
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include "core/helpers/preamble.h"
|
||||
#include "core/unit_tests/helpers/debug_manager_state_restore.h"
|
||||
#include "core/utilities/stackvec.h"
|
||||
#include "runtime/gen11/reg_configs.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
#include "unit_tests/mocks/mock_device.h"
|
||||
#include "unit_tests/mocks/mock_graphics_allocation.h"
|
||||
|
||||
#include "gen11/reg_configs.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "core/unit_tests/fixtures/preemption_fixture.h"
|
||||
#include "core/unit_tests/helpers/debug_manager_state_restore.h"
|
||||
#include "runtime/command_queue/command_queue_hw.h"
|
||||
#include "runtime/helpers/dispatch_info.h"
|
||||
#include "unit_tests/helpers/dispatch_flags_helper.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
#include "unit_tests/mocks/mock_builtins.h"
|
||||
@@ -18,7 +16,9 @@
|
||||
#include "unit_tests/mocks/mock_graphics_allocation.h"
|
||||
#include "unit_tests/mocks/mock_kernel.h"
|
||||
|
||||
#include "command_queue/command_queue_hw.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "helpers/dispatch_info.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
#include "core/program/program_info_from_patchtokens.h"
|
||||
#include "core/unit_tests/compiler_interface/linker_mock.h"
|
||||
#include "core/unit_tests/device_binary_format/patchtokens_tests.h"
|
||||
#include "runtime/program/kernel_info.h"
|
||||
|
||||
#include "RelocationInfo.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "program/kernel_info.h"
|
||||
|
||||
TEST(PopulateProgramInfoFromPatchtokensTests, WhenRequiresLocalMemoryWindowVAIsCalledThenReturnsTrueOnlyIfAnyOfKernelsRequireLocalMemoryWindowVA) {
|
||||
NEO::PatchTokenBinary::ProgramFromPatchtokens emptyProgram;
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
|
||||
#include "core/program/program_info.h"
|
||||
#include "runtime/program/kernel_info.h"
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "program/kernel_info.h"
|
||||
|
||||
TEST(ProgramInfoTests, WhenPrepareLinkerInputStorageGetsCalledTwiceThenLinkerInputStorageIsReused) {
|
||||
NEO::ProgramInfo programInfo;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -8,12 +8,12 @@
|
||||
#pragma once
|
||||
#include "core/command_stream/preemption.h"
|
||||
#include "core/helpers/preamble.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "test.h"
|
||||
#include "unit_tests/helpers/hw_parse.h"
|
||||
#include "unit_tests/mocks/mock_device.h"
|
||||
#include "unit_tests/mocks/mock_graphics_allocation.h"
|
||||
|
||||
#include "built_ins/built_ins.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
template <typename GfxFamily>
|
||||
|
||||
@@ -42,8 +42,8 @@ set(CLOC_SRCS_LIB
|
||||
${NEO_SOURCE_DIR}/core/compiler_interface/compiler_options/compiler_options_base.cpp
|
||||
${NEO_SOURCE_DIR}/core/compiler_interface/create_main.cpp
|
||||
${NEO_SOURCE_DIR}/core/helpers/hw_info.cpp
|
||||
${NEO_SOURCE_DIR}/runtime/platform/extensions.cpp
|
||||
${NEO_SOURCE_DIR}/runtime/platform/extensions.h
|
||||
${NEO_RUNTIME_SOURCE_DIR}/platform/extensions.cpp
|
||||
${NEO_RUNTIME_SOURCE_DIR}/platform/extensions.h
|
||||
)
|
||||
|
||||
if(${IGA_HEADERS_AVAILABLE})
|
||||
@@ -61,13 +61,13 @@ if(WIN32)
|
||||
list(APPEND CLOC_SRCS_LIB
|
||||
${NEO_SOURCE_DIR}/core/os_interface/windows/os_library_win.cpp
|
||||
${NEO_SOURCE_DIR}/core/os_interface/windows/os_library_win.h
|
||||
${NEO_SOURCE_DIR}/runtime/dll/windows/options_windows.cpp
|
||||
${NEO_RUNTIME_SOURCE_DIR}/dll/windows/options_windows.cpp
|
||||
)
|
||||
else()
|
||||
list(APPEND CLOC_SRCS_LIB
|
||||
${NEO_SOURCE_DIR}/core/os_interface/linux/os_library_linux.cpp
|
||||
${NEO_SOURCE_DIR}/core/os_interface/linux/os_library_linux.h
|
||||
${NEO_SOURCE_DIR}/runtime/dll/linux/options_linux.cpp
|
||||
${NEO_RUNTIME_SOURCE_DIR}/dll/linux/options_linux.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -83,12 +83,12 @@ set(RUNTIME_GENX_CPP_FILES
|
||||
)
|
||||
|
||||
macro(macro_for_each_platform)
|
||||
list(APPEND CLOC_SRCS_LIB ${NEO_SOURCE_DIR}/runtime/${GEN_TYPE_LOWER}/hw_info_${PLATFORM_IT_LOWER}.inl)
|
||||
list(APPEND CLOC_SRCS_LIB ${NEO_RUNTIME_SOURCE_DIR}/${GEN_TYPE_LOWER}/hw_info_${PLATFORM_IT_LOWER}.inl)
|
||||
endmacro()
|
||||
|
||||
macro(macro_for_each_gen)
|
||||
foreach(SRC_IT ${RUNTIME_GENX_CPP_FILES})
|
||||
set(SRC_FILE ${NEO_SOURCE_DIR}/runtime/${GEN_TYPE_LOWER}/${SRC_IT})
|
||||
set(SRC_FILE ${NEO_RUNTIME_SOURCE_DIR}/${GEN_TYPE_LOWER}/${SRC_IT})
|
||||
if(EXISTS ${SRC_FILE}_${GEN_TYPE_LOWER}.cpp)
|
||||
list(APPEND CLOC_SRCS_LIB ${SRC_FILE}_${GEN_TYPE_LOWER}.cpp)
|
||||
endif()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/os_interface/os_library.h"
|
||||
#include "runtime/os_interface/os_inc_base.h"
|
||||
|
||||
#include "igfxfmid.h"
|
||||
#include "os_interface/os_inc_base.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/os_interface/os_library.h"
|
||||
#include "runtime/os_interface/os_inc_base.h"
|
||||
|
||||
#include "helper.h"
|
||||
#include "igfxfmid.h"
|
||||
#include "os_interface/os_inc_base.h"
|
||||
#include "translate_platform_base.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -16,19 +16,19 @@
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/helpers/string.h"
|
||||
#include "core/os_interface/os_library.h"
|
||||
#include "runtime/helpers/validators.h"
|
||||
#include "runtime/os_interface/os_inc_base.h"
|
||||
#include "runtime/platform/extensions.h"
|
||||
|
||||
#include "cif/common/cif_main.h"
|
||||
#include "cif/helpers/error.h"
|
||||
#include "cif/import/library_api.h"
|
||||
#include "compiler_options.h"
|
||||
#include "helpers/validators.h"
|
||||
#include "igfxfmid.h"
|
||||
#include "ocl_igc_interface/code_type.h"
|
||||
#include "ocl_igc_interface/fcl_ocl_device_ctx.h"
|
||||
#include "ocl_igc_interface/igc_ocl_device_ctx.h"
|
||||
#include "ocl_igc_interface/platform_helper.h"
|
||||
#include "os_interface/os_inc_base.h"
|
||||
#include "platform/extensions.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iomanip>
|
||||
@@ -577,7 +577,7 @@ std::string OfflineCompiler::parseBinAsCharArray(uint8_t *binary, size_t size, s
|
||||
out << "};" << std::endl;
|
||||
|
||||
out << std::endl
|
||||
<< "#include \"runtime/built_ins/registry/built_ins_registry.h\"\n"
|
||||
<< "#include \"built_ins/registry/built_ins_registry.h\"\n"
|
||||
<< std::endl;
|
||||
out << "namespace NEO {" << std::endl;
|
||||
out << "static RegisterEmbeddedResource register" << builtinName << "Bin(" << std::endl;
|
||||
|
||||
@@ -80,14 +80,14 @@ if(WIN32)
|
||||
target_include_directories(${NEO_STATIC_LIB_NAME} PUBLIC
|
||||
${WDK_INCLUDE_PATHS}
|
||||
${NEO_SOURCE_DIR}/core/os_interface/windows
|
||||
${NEO_SOURCE_DIR}/runtime/os_interface/windows
|
||||
${NEO_RUNTIME_SOURCE_DIR}/os_interface/windows
|
||||
)
|
||||
target_compile_definitions(${NEO_STATIC_LIB_NAME} PRIVATE OGL=1)
|
||||
else()
|
||||
set(IGDRCL_EXTRA_LIBS dl pthread)
|
||||
target_include_directories(${NEO_STATIC_LIB_NAME} PUBLIC
|
||||
${NEO_SOURCE_DIR}/core/os_interface/linux
|
||||
${NEO_SOURCE_DIR}/runtime/os_interface/linux
|
||||
${NEO_RUNTIME_SOURCE_DIR}/os_interface/linux
|
||||
${I915_INCLUDES_DIR}
|
||||
)
|
||||
endif()
|
||||
@@ -127,7 +127,7 @@ if(${GENERATE_EXECUTABLE})
|
||||
|
||||
add_library(${NEO_DYNAMIC_LIB_NAME} SHARED
|
||||
${NEO_DYNAMIC_LIB__TARGET_OBJECTS}
|
||||
${NEO_SOURCE_DIR}/runtime/aub/aub_stream_interface.cpp
|
||||
${NEO_RUNTIME_SOURCE_DIR}/aub/aub_stream_interface.cpp
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018 Intel Corporation
|
||||
# Copyright (C) 2018-2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/accelerators/intel_accelerator.h"
|
||||
#include "accelerators/intel_accelerator.h"
|
||||
|
||||
#include "core/helpers/get_info.h"
|
||||
#include "core/helpers/string.h"
|
||||
#include "runtime/context/context.h"
|
||||
#include "runtime/helpers/get_info_status_mapper.h"
|
||||
|
||||
#include "context/context.h"
|
||||
#include "helpers/get_info_status_mapper.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "runtime/api/cl_types.h"
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "api/cl_types.h"
|
||||
#include "helpers/base_object.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// cl_intel_accelerator Class Stuff
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/accelerators/intel_motion_estimation.h"
|
||||
#include "accelerators/intel_motion_estimation.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "runtime/accelerators/intel_accelerator.h"
|
||||
#include "accelerators/intel_accelerator.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// VmeAccelerator Class Stuff
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/api/additional_extensions.h"
|
||||
#include "api/additional_extensions.h"
|
||||
|
||||
namespace NEO {
|
||||
void *CL_API_CALL getAdditionalExtensionFunctionAddress(const char *funcName) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -18,38 +18,38 @@
|
||||
#include "core/os_interface/os_context.h"
|
||||
#include "core/utilities/api_intercept.h"
|
||||
#include "core/utilities/stackvec.h"
|
||||
#include "runtime/accelerators/intel_motion_estimation.h"
|
||||
#include "runtime/api/additional_extensions.h"
|
||||
#include "runtime/aub/aub_center.h"
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "runtime/built_ins/vme_builtin.h"
|
||||
#include "runtime/command_queue/command_queue.h"
|
||||
#include "runtime/context/context.h"
|
||||
#include "runtime/context/driver_diagnostics.h"
|
||||
#include "runtime/device/cl_device.h"
|
||||
#include "runtime/device_queue/device_queue.h"
|
||||
#include "runtime/event/user_event.h"
|
||||
#include "runtime/gtpin/gtpin_notify.h"
|
||||
#include "runtime/helpers/get_info_status_mapper.h"
|
||||
#include "runtime/helpers/mem_properties_parser_helper.h"
|
||||
#include "runtime/helpers/memory_properties_flags_helpers.h"
|
||||
#include "runtime/helpers/queue_helpers.h"
|
||||
#include "runtime/helpers/validators.h"
|
||||
#include "runtime/kernel/kernel.h"
|
||||
#include "runtime/kernel/kernel_info_cl.h"
|
||||
#include "runtime/mem_obj/buffer.h"
|
||||
#include "runtime/mem_obj/image.h"
|
||||
#include "runtime/mem_obj/mem_obj_helper.h"
|
||||
#include "runtime/mem_obj/pipe.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
#include "runtime/program/program.h"
|
||||
#include "runtime/sampler/sampler.h"
|
||||
#include "runtime/sharings/sharing_factory.h"
|
||||
#include "runtime/tracing/tracing_api.h"
|
||||
#include "runtime/tracing/tracing_notify.h"
|
||||
|
||||
#include "CL/cl.h"
|
||||
#include "accelerators/intel_motion_estimation.h"
|
||||
#include "api/additional_extensions.h"
|
||||
#include "aub/aub_center.h"
|
||||
#include "built_ins/built_ins.h"
|
||||
#include "built_ins/vme_builtin.h"
|
||||
#include "command_queue/command_queue.h"
|
||||
#include "config.h"
|
||||
#include "context/context.h"
|
||||
#include "context/driver_diagnostics.h"
|
||||
#include "device/cl_device.h"
|
||||
#include "device_queue/device_queue.h"
|
||||
#include "event/user_event.h"
|
||||
#include "gtpin/gtpin_notify.h"
|
||||
#include "helpers/get_info_status_mapper.h"
|
||||
#include "helpers/mem_properties_parser_helper.h"
|
||||
#include "helpers/memory_properties_flags_helpers.h"
|
||||
#include "helpers/queue_helpers.h"
|
||||
#include "helpers/validators.h"
|
||||
#include "kernel/kernel.h"
|
||||
#include "kernel/kernel_info_cl.h"
|
||||
#include "mem_obj/buffer.h"
|
||||
#include "mem_obj/image.h"
|
||||
#include "mem_obj/mem_obj_helper.h"
|
||||
#include "mem_obj/pipe.h"
|
||||
#include "platform/platform.h"
|
||||
#include "program/program.h"
|
||||
#include "sampler/sampler.h"
|
||||
#include "sharings/sharing_factory.h"
|
||||
#include "tracing/tracing_api.h"
|
||||
#include "tracing/tracing_notify.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
@@ -5,12 +5,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/api/api_enter.h"
|
||||
#include "runtime/api/dispatch.h"
|
||||
#include "runtime/extensions/public/cl_ext_private.h"
|
||||
|
||||
#include "CL/cl.h"
|
||||
#include "CL/cl_gl.h"
|
||||
#include "api/api_enter.h"
|
||||
#include "api/dispatch.h"
|
||||
#include "extensions/public/cl_ext_private.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
*/
|
||||
|
||||
#include "core/utilities/perf_profiler.h"
|
||||
#include "runtime/utilities/logger.h"
|
||||
|
||||
#include "utilities/logger.h"
|
||||
|
||||
#define API_ENTER(retValPointer) \
|
||||
LoggerApiEnterWrapper<NEO::FileLogger<globalDebugFunctionalityLevel>::enabled()> ApiWrapperForSingleCall(__FUNCTION__, retValPointer)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "runtime/api/dispatch.h"
|
||||
#include "api/dispatch.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2019 Intel Corporation
|
||||
# Copyright (C) 2018-2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub/aub_center.h"
|
||||
#include "aub/aub_center.h"
|
||||
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/helpers/hw_helper.h"
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
|
||||
#include "aub/aub_helper.h"
|
||||
#include "third_party/aub_stream/headers/aub_manager.h"
|
||||
#include "third_party/aub_stream/headers/aubstream.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#pragma once
|
||||
#include "core/helpers/options.h"
|
||||
#include "runtime/command_stream/aub_stream_provider.h"
|
||||
#include "runtime/command_stream/aub_subcapture.h"
|
||||
#include "runtime/memory_manager/address_mapper.h"
|
||||
#include "runtime/memory_manager/physical_address_allocator.h"
|
||||
|
||||
#include "command_stream/aub_stream_provider.h"
|
||||
#include "command_stream/aub_subcapture.h"
|
||||
#include "memory_manager/address_mapper.h"
|
||||
#include "memory_manager/physical_address_allocator.h"
|
||||
#include "third_party/aub_stream/headers/aub_manager.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
#include "aub/aub_helper.h"
|
||||
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/helpers/basic_math.h"
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/helpers/non_copyable_or_moveable.h"
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "runtime/gen_common/aub_mapper_base.h"
|
||||
|
||||
#include "gen_common/aub_mapper_base.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
|
||||
#include "aub/aub_helper.h"
|
||||
#include "third_party/aub_stream/headers/aubstream.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
#include "aub/aub_helper.h"
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub/aub_helper_base.inl"
|
||||
#include "aub/aub_helper_base.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub/aub_center.h"
|
||||
#include "aub/aub_center.h"
|
||||
using namespace aub_stream;
|
||||
namespace NEO {
|
||||
AubManager *createAubManager(uint32_t gfxFamily, uint32_t devicesCount, uint64_t memoryBankSize, bool localMemorySupported, uint32_t streamMode) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2019 Intel Corporation
|
||||
# Copyright (C) 2019-2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/gmm_helper/resource_info.h"
|
||||
#include "core/memory_manager/graphics_allocation.h"
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
#include "core/gmm_helper/gmm.h"
|
||||
#include "core/gmm_helper/gmm_helper.h"
|
||||
#include "runtime/aub_mem_dump/aub_alloc_dump.h"
|
||||
|
||||
#include "aub_mem_dump/aub_alloc_dump.h"
|
||||
#include "third_party/aub_stream/headers/aubstream.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -10,7 +10,8 @@
|
||||
#include "core/debug_settings/debug_settings_manager.h"
|
||||
#include "core/helpers/debug_helpers.h"
|
||||
#include "core/helpers/ptr_math.h"
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
|
||||
#include "aub/aub_helper.h"
|
||||
|
||||
namespace AubMemDump {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -10,12 +10,13 @@
|
||||
#include <cstdio>
|
||||
#include <fstream>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
|
||||
#ifndef BIT
|
||||
#define BIT(x) (((uint64_t)1) << (x))
|
||||
#endif
|
||||
|
||||
#include "runtime/aub_mem_dump/aub_data.h"
|
||||
#include "aub_mem_dump/aub_data.h"
|
||||
|
||||
namespace NEO {
|
||||
class AubHelper;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -8,8 +8,8 @@
|
||||
#include "core/helpers/debug_helpers.h"
|
||||
#include "core/helpers/ptr_math.h"
|
||||
#include "core/memory_manager/memory_constants.h"
|
||||
#include "runtime/aub/aub_helper.h"
|
||||
|
||||
#include "aub/aub_helper.h"
|
||||
#include "aub_mem_dump.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
#include "aub_mem_dump/aub_mem_dump.h"
|
||||
|
||||
namespace AubMemDump {
|
||||
void LrcaHelper::setContextSaveRestoreFlags(uint32_t &ctxSrCtlValue) const {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user