-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:microsoft/onnxruntime into abjindal…
…/update_deepspeed_version
- Loading branch information
Showing
53 changed files
with
915 additions
and
154 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
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 |
---|---|---|
@@ -1,25 +1,31 @@ | ||
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt | ||
index 61a5c3ded..68d7c5598 100644 | ||
index ac92442a1..e930cbd2e 100644 | ||
--- a/cmake/CMakeLists.txt | ||
+++ b/cmake/CMakeLists.txt | ||
@@ -199,12 +199,8 @@ if (MSVC) | ||
endif() | ||
@@ -240,9 +240,7 @@ if (MSVC) | ||
# MSVC warning suppressions | ||
add_definitions( | ||
- /wd4018 # 'expression' : signed/unsigned mismatch | ||
/wd4065 # switch statement contains 'default' but no 'case' labels | ||
- /wd4146 # unary minus operator applied to unsigned type, result still unsigned | ||
- /wd4244 # 'conversion' conversion from 'type1' to 'type2', possible loss of data | ||
/wd4251 # 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2' | ||
- /wd4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data | ||
/wd4305 # 'identifier' : truncation from 'type1' to 'type2' | ||
/wd4307 # 'operator' : integral constant overflow | ||
/wd4309 # 'conversion' : truncation of constant value | ||
@@ -212,7 +208,6 @@ if (MSVC) | ||
@@ -250,7 +248,6 @@ if (MSVC) | ||
/wd4355 # 'this' : used in base member initializer list | ||
/wd4506 # no definition for inline function 'function' | ||
/wd4800 # 'type' : forcing value to bool 'true' or 'false' (performance warning) | ||
- /wd4996 # The compiler encountered a deprecated declaration. | ||
) | ||
# Allow big object | ||
add_definitions(/bigobj) | ||
@@ -272,6 +269,8 @@ if (MSVC) | ||
endif() | ||
|
||
configure_file(version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc @ONLY) | ||
+else (MSVC) | ||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter") | ||
endif (MSVC) | ||
|
||
|
17 changes: 0 additions & 17 deletions
17
include/onnxruntime/core/providers/dnnl/dnnl_provider_factory.h
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
include/onnxruntime/core/providers/dnnl/dnnl_provider_options.h
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,8 @@ | ||
// Copyright(C) 2022 Intel Corporation | ||
// Licensed under the MIT License | ||
#pragma once | ||
|
||
struct OrtDnnlProviderOptions { | ||
int use_arena; // If arena is used, use_arena 0 = not used, nonzero = used | ||
void* threadpool_args; // Used to enable configure the oneDNN threadpool | ||
}; |
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
Oops, something went wrong.