mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Changing include paths
Change-Id: I3b878463289083c956382e68da3473788cf5c15f
This commit is contained in:
committed by
Jaroslaw Chodor
parent
05210b203b
commit
8f44a95ca0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user