[GPU] Merge cldnn and plugin code (#8484)

This commit is contained in:
Vladimir Paramuzov 2021-12-27 18:35:01 +03:00 committed by GitHub
parent d51f337934
commit f565e0f854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1441 changed files with 31 additions and 57 deletions

View File

@ -16,7 +16,3 @@ endif()
if(ENABLE_LTO)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
endif()
if (ENABLE_INTEL_GPU)
add_subdirectory(clDNN)
endif()

View File

@ -1,26 +0,0 @@
# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
if(ENABLE_GPU_DEBUG_CAPS)
add_definitions(-DGPU_DEBUG_CONFIG=1)
endif()
set(MAIN_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
set(INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/api")
find_package(PythonInterp 3 QUIET)
if(NOT PYTHONINTERP_FOUND)
message(WARNING "[clDNN] Project requires Python 3.x interpreter to build (with python loader). CMake could not detect it correctly.
If you have installed this interpreter, please disregard this warning or specify PYTHON_EXECUTABLE in CMake command-line."
)
endif()
add_subdirectory(runtime)
add_subdirectory(kernel_selector)
add_subdirectory(src)
add_subdirectory(utils)
if(ENABLE_TESTS)
add_subdirectory(tests)
endif()

View File

@ -5,7 +5,7 @@
set (TARGET_NAME "ov_intel_gpu_plugin")
if(CMAKE_COMPILER_IS_GNUCXX)
ie_add_compiler_flags(-Wno-all)
ie_add_compiler_flags(-Wno-all -Wno-missing-declarations)
ie_add_compiler_flags(-msse4.1 -msse4.2)
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
ie_add_compiler_flags(-Wno-error=terminate)
@ -16,6 +16,14 @@ if(ENABLE_GPU_DEBUG_CAPS)
add_definitions(-DGPU_DEBUG_CONFIG=1)
endif()
set(MAIN_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
set(INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include")
add_subdirectory(src/runtime)
add_subdirectory(src/kernel_selector)
add_subdirectory(src/graph)
add_subdirectory(thirdparty)
file(GLOB_RECURSE PLUGIN_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/plugin/*.cpp ${CMAKE_CURRENT_SOURCE_DIR}/include/intel_gpu/plugin/*.hpp)
addVersionDefines(src/plugin/plugin.cpp CI_BUILD_NUMBER)
@ -41,5 +49,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS_RELEASE "-Wno-error=maybe-uninitialized -Wno-maybe-uninitialized")
endif()
if(ENABLE_TESTS)
add_subdirectory(tests)
endif()
# Failed because of OpenCL
# ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})

View File

@ -1,21 +1,6 @@

# Compute Library for Deep Neural Networks (clDNN)
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)
![v1.0](https://img.shields.io/badge/1.0-RC1-green.svg)
*Compute Library for Deep Neural Networks* (*clDNN*) is an open source performance
library for Deep Learning (DL) applications intended for acceleration of
DL Inference on Intel® Processor Graphics including HD Graphics and
Iris® Graphics.
*clDNN* includes highly optimized building blocks for implementation of
convolutional neural networks (CNN) with C++ interface.
## License
clDNN is licensed is licensed under
[Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
### Attached licenses
clDNN uses 3<sup>rd</sup>-party components licensed under following licenses:
GPU plugin uses 3<sup>rd</sup>-party components licensed under following licenses:
- *googletest* under [Google\* License](https://github.com/google/googletest/blob/master/googletest/LICENSE)
- *OpenCL™ ICD and C++ Wrapper* under [Khronos™ License](https://github.com/KhronosGroup/OpenCL-CLHPP/blob/master/LICENSE.txt)
- *RapidJSON* under [Tencent\* License](https://github.com/Tencent/rapidjson/blob/master/license.txt)
@ -25,7 +10,7 @@ Please report issues and suggestions
[GitHub issues](https://github.com/openvinotoolkit/openvino/issues).
## How to Contribute
We welcome community contributions to clDNN. If you have an idea how to improve the library:
We welcome community contributions to GPU plugin. If you have an idea how to improve the library:
- Share your proposal via
[GitHub issues](https://github.com/openvinotoolkit/openvino/issues)
@ -38,11 +23,11 @@ are necessary, may provide feedback to guide you. When accepted, your pull
request will be merged into our GitHub repository.
## System Requirements
clDNN supports Intel® HD Graphics and Intel® Iris® Graphics and is optimized for Gen9-Gen12LP architectures
GPU plugin supports Intel® HD Graphics and Intel® Iris® Graphics and is optimized for Gen9-Gen12LP architectures
clDNN currently uses OpenCL™ with multiple Intel OpenCL™ extensions and requires Intel® Graphics Driver to run.
GPU plugin currently uses OpenCL™ with multiple Intel OpenCL™ extensions and requires Intel® Graphics Driver to run.
clDNN requires CPU with Intel® SSE/Intel® AVX support.
GPU plugin requires CPU with Intel® SSE/Intel® AVX support.
---

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