-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c585b53
commit ba6e22b
Showing
3,651 changed files
with
294,517 additions
and
170,741 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
[submodule "inference-engine/thirdparty/ade"] | ||
path = inference-engine/thirdparty/ade | ||
url = https://github.com/opencv/ade.git | ||
ignore = dirty | ||
[submodule "inference-engine/thirdparty/ngraph"] | ||
path = inference-engine/thirdparty/ngraph | ||
url = https://github.com/NervanaSystems/ngraph.git | ||
ignore = dirty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright (C) 2018-2019 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
unset(ITT_INCLUDE_DIR CACHE) | ||
unset(ITT_LIB CACHE) | ||
|
||
if(NOT DEFINED INTEL_VTUNE_DIR AND DEFINED ENV{INTEL_VTUNE_DIR}) | ||
set(INTEL_VTUNE_DIR "$ENV{INTEL_VTUNE_DIR}") | ||
endif() | ||
if(NOT DEFINED INTEL_VTUNE_DIR) | ||
if(EXISTS "/opt/intel/vtune_amplifier_xe/include") | ||
set(INTEL_VTUNE_DIR "/opt/intel/vtune_amplifier_xe") | ||
elseif(EXISTS "/opt/intel/vtune_amplifier/include") | ||
set(INTEL_VTUNE_DIR "/opt/intel/vtune_amplifier") | ||
elseif (EXISTS "C:/Program Files (x86)/IntelSWTools/VTune Amplifier XE") | ||
set(INTEL_VTUNE_DIR "C:/Program Files (x86)/IntelSWTools/VTune Amplifier XE") | ||
elseif (EXISTS "C:/Program Files (x86)/IntelSWTools/VTune Amplifier") | ||
set(INTEL_VTUNE_DIR "C:/Program Files (x86)/IntelSWTools/VTune Amplifier") | ||
elseif (EXISTS "$ENV{HOME}/intel/vtune_amplifier_2019") | ||
set(INTEL_VTUNE_DIR "$ENV{HOME}/intel/vtune_amplifier_2019") | ||
endif() | ||
endif() | ||
|
||
if(DEFINED INTEL_VTUNE_DIR) | ||
message(STATUS "INTEL_VTUNE_DIR = ${INTEL_VTUNE_DIR}") | ||
|
||
find_path(ITT_INCLUDE_DIR | ||
FILES | ||
ittnotify.h | ||
PATHS "${INTEL_VTUNE_DIR}/include/") | ||
|
||
find_library(ITT_LIB | ||
"libittnotify${CMAKE_STATIC_LIBRARY_SUFFIX}" | ||
PATHS ${INTEL_VTUNE_DIR}/lib64) | ||
|
||
set(Located_ITT_LIBS ${ITT_LIB}) | ||
set(Located_ITT_INCLUDE_DIRS ${ITT_INCLUDE_DIR}) | ||
else() | ||
message(STATUS "INTEL_VTUNE_DIR is not defined") | ||
endif() | ||
|
||
# Handle find_package() arguments, and set INTEL_ITT_FOUND | ||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(INTEL_ITT | ||
REQUIRED_VARS | ||
Located_ITT_INCLUDE_DIRS | ||
Located_ITT_LIBS) | ||
|
||
if(INTEL_ITT_FOUND) | ||
add_library(ittnotify STATIC IMPORTED GLOBAL) | ||
set_target_properties(ittnotify PROPERTIES IMPORTED_LOCATION "${Located_ITT_LIBS}" | ||
INTERFACE_INCLUDE_DIRECTORIES ${Located_ITT_INCLUDE_DIRS} | ||
INTERFACE_COMPILE_DEFINITIONS ENABLE_PROFILING_ITT) | ||
|
||
set(INTEL_ITT_LIBS ittnotify ${CMAKE_DL_LIBS}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Copyright (C) 2018-2019 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (C) 2018-2019 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CMAKE_SYSTEM_PROCESSOR aarch64) | ||
|
||
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc) | ||
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++) | ||
|
||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) |
Oops, something went wrong.