forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from openvinotoolkit/master
Update forked branch
- Loading branch information
Showing
791 changed files
with
36,667 additions
and
9,023 deletions.
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
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,27 @@ | ||
# Copyright (C) 2021 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set(CMAKE_CXX_FLAGS_INIT "-m32") | ||
set(CMAKE_C_FLAGS_INIT "-m32") | ||
|
||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-m32") | ||
set(CMAKE_MODULE_LINKER_FLAGS_INIT "-m32") | ||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-m32") | ||
|
||
# Hints for OpenVINO | ||
|
||
macro(_set_if_not_defined var val) | ||
if(NOT DEFINED ${var}) | ||
set(${var} ${val} CACHE BOOL "" FORCE) | ||
endif() | ||
endmacro() | ||
|
||
# need libusb 32-bits version | ||
_set_if_not_defined(ENABLE_VPU OFF) | ||
|
||
# _mm_loadl_epi64 is not defined | ||
_set_if_not_defined(ENABLE_SSE42 OFF) | ||
|
||
# fix conversion from uint64_t / int64_t to size_t | ||
_set_if_not_defined(NGRAPH_ONNX_IMPORT_ENABLE OFF) |
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,39 @@ | ||
# Copyright (C) 2021 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# | ||
# Flags for 3rd party projects | ||
# | ||
|
||
set(use_static_runtime ON) | ||
|
||
if(use_static_runtime) | ||
foreach(lang C CXX) | ||
foreach(build_type "" "_DEBUG" "_MINSIZEREL" "_RELEASE" "_RELWITHDEBINFO") | ||
set(flag_var "CMAKE_${lang}_FLAGS${build_type}") | ||
string(REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") | ||
endforeach() | ||
endforeach() | ||
endif() | ||
|
||
function(onecoreuap_set_runtime var) | ||
set(${var} ${use_static_runtime} CACHE BOOL "" FORCE) | ||
endfunction() | ||
|
||
# ONNX | ||
onecoreuap_set_runtime(ONNX_USE_MSVC_STATIC_RUNTIME) | ||
# pugixml | ||
onecoreuap_set_runtime(STATIC_CRT) | ||
# protobuf | ||
onecoreuap_set_runtime(protobuf_MSVC_STATIC_RUNTIME) | ||
# clDNN | ||
onecoreuap_set_runtime(CLDNN__COMPILE_LINK_USE_STATIC_RUNTIME) | ||
# google-test | ||
if(use_static_runtime) | ||
set(gtest_force_shared_crt OFF CACHE BOOL "" FORCE) | ||
else() | ||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) | ||
endif() | ||
|
||
unset(use_static_runtime) |
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
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 |
---|---|---|
|
@@ -32,7 +32,8 @@ MYRIAD.1.4-ma2480 | |
FPGA.0 | ||
FPGA.1 | ||
CPU | ||
GPU | ||
GPU.0 | ||
GPU.1 | ||
... | ||
``` | ||
|
||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.