mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Moved devices.inl and devices_base.inl to shared for future shared use in ocloc
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
6356de6511
commit
234b401aab
@ -882,6 +882,7 @@ include_directories(${NEO_SHARED_DIRECTORY}/built_ins/builtinops${BRANCH_DIR_SUF
|
|||||||
include_directories(${NEO_SHARED_DIRECTORY}/command_stream/definitions${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/command_stream/definitions${BRANCH_DIR_SUFFIX})
|
||||||
include_directories(${NEO_SHARED_DIRECTORY}/compiler_interface/compiler_options${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/compiler_interface/compiler_options${BRANCH_DIR_SUFFIX})
|
||||||
include_directories(${NEO_SHARED_DIRECTORY}/debug_settings/definitions${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/debug_settings/definitions${BRANCH_DIR_SUFFIX})
|
||||||
|
include_directories(${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX})
|
||||||
include_directories(${NEO_SHARED_DIRECTORY}/gen_common${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/gen_common${BRANCH_DIR_SUFFIX})
|
||||||
include_directories(${NEO_SHARED_DIRECTORY}/gmm_helper/client_context${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/gmm_helper/client_context${BRANCH_DIR_SUFFIX})
|
||||||
include_directories(${NEO_SHARED_DIRECTORY}/gmm_helper/windows/gmm_memory${BRANCH_DIR_SUFFIX})
|
include_directories(${NEO_SHARED_DIRECTORY}/gmm_helper/windows/gmm_memory${BRANCH_DIR_SUFFIX})
|
||||||
|
2
FAQ.md
2
FAQ.md
@ -49,7 +49,7 @@ See [README.md](https://github.com/intel/compute-runtime/blob/master/README.md).
|
|||||||
To check support for any device, you can follow these steps:
|
To check support for any device, you can follow these steps:
|
||||||
1. Go to [Ark]( https://ark.intel.com) and find your Device ID
|
1. Go to [Ark]( https://ark.intel.com) and find your Device ID
|
||||||
1. Check if this Device ID is enumerated in the
|
1. Check if this Device ID is enumerated in the
|
||||||
[supported device list](https://github.com/intel/compute-runtime/blob/master/opencl/source/dll/linux/devices/devices_base.inl)
|
[supported device list](https://github.com/intel/compute-runtime/blob/master/shared/source/dll/devices/devices_base.inl)
|
||||||
|
|
||||||
### When will support for platform X be added?
|
### When will support for platform X be added?
|
||||||
|
|
||||||
|
@ -259,10 +259,10 @@ if(BUILD_WITH_L0)
|
|||||||
target_sources(${TARGET_NAME_L0}
|
target_sources(${TARGET_NAME_L0}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${NEO_SHARED_DIRECTORY}/os_interface/linux/sys_calls_linux.cpp
|
${NEO_SHARED_DIRECTORY}/os_interface/linux/sys_calls_linux.cpp
|
||||||
|
${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX}/devices.inl
|
||||||
|
${NEO_SHARED_DIRECTORY}/dll/devices/devices_base.inl
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/allocator_helper.cpp
|
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/allocator_helper.cpp
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/create_drm_memory_manager.cpp
|
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/create_drm_memory_manager.cpp
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/devices${BRANCH_DIR_SUFFIX}/devices.inl
|
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/devices/devices_base.inl
|
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/options_linux.cpp
|
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/options_linux.cpp
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/os_interface.cpp
|
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/os_interface.cpp
|
||||||
)
|
)
|
||||||
@ -316,7 +316,7 @@ if(BUILD_WITH_L0)
|
|||||||
${I915_INCLUDES_DIR}
|
${I915_INCLUDES_DIR}
|
||||||
)
|
)
|
||||||
target_include_directories(${TARGET_NAME_L0} PRIVATE
|
target_include_directories(${TARGET_NAME_L0} PRIVATE
|
||||||
${COMPUTE_RUNTIME_DIR}/opencl/source/dll/linux/devices${BRANCH_DIR_SUFFIX}
|
${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX}
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
set(OS_SPECIFIC_LIBS "")
|
set(OS_SPECIFIC_LIBS "")
|
||||||
|
@ -186,7 +186,7 @@ if(${GENERATE_EXECUTABLE})
|
|||||||
else()
|
else()
|
||||||
target_link_libraries(${NEO_DYNAMIC_LIB_NAME} ${GMM_LINK_NAME})
|
target_link_libraries(${NEO_DYNAMIC_LIB_NAME} ${GMM_LINK_NAME})
|
||||||
target_include_directories(${NEO_DYNAMIC_LIB_NAME} PRIVATE
|
target_include_directories(${NEO_DYNAMIC_LIB_NAME} PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/dll/linux/devices${BRANCH_DIR_SUFFIX}
|
${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX}
|
||||||
)
|
)
|
||||||
set_property(TARGET ${NEO_DYNAMIC_LIB_NAME}
|
set_property(TARGET ${NEO_DYNAMIC_LIB_NAME}
|
||||||
APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--version-script=${EXPORTS_FILENAME}"
|
APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--version-script=${EXPORTS_FILENAME}"
|
||||||
|
@ -42,11 +42,11 @@ append_sources_from_properties(RUNTIME_SRCS_DLL_BASE NEO_CORE_SRCS_LINK)
|
|||||||
set(RUNTIME_SRCS_DLL_LINUX
|
set(RUNTIME_SRCS_DLL_LINUX
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/allocator_helper.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/allocator_helper.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/create_drm_memory_manager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/create_drm_memory_manager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/devices${BRANCH_DIR_SUFFIX}/devices.inl
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/devices/devices_base.inl
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/drm_neo_create.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/drm_neo_create.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/options_linux.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/options_linux.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linux/os_interface.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/os_interface.cpp
|
||||||
|
${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX}/devices.inl
|
||||||
|
${NEO_SHARED_DIRECTORY}/dll/devices/devices_base.inl
|
||||||
${NEO_SHARED_DIRECTORY}/os_interface/linux/sys_calls_linux.cpp
|
${NEO_SHARED_DIRECTORY}/os_interface/linux/sys_calls_linux.cpp
|
||||||
${NEO_SOURCE_DIR}/opencl/source/os_interface/linux/platform_teardown_linux.cpp
|
${NEO_SOURCE_DIR}/opencl/source/os_interface/linux/platform_teardown_linux.cpp
|
||||||
)
|
)
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2018-2020 Intel Corporation
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "opencl/source/dll/linux/devices/devices_base.inl"
|
|
8
shared/source/dll/devices/devices.inl
Normal file
8
shared/source/dll/devices/devices.inl
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2018-2021 Intel Corporation
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "shared/source/dll/devices/devices_base.inl"
|
Reference in New Issue
Block a user