onnxruntime/onnxruntime/core/platform
Scott McKay ccfd90291b
Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563)
Remove condition from ORT_RETURN_IF[_NOT] macro output as repeating the condition doesn't add much value compared to the explicit error message, and the error message includes the file and line anyway so it's easy enough to find the condition if needed.
Update the few places where the macros were used without an explicit error message to provide an explicit error message.

Saves 12.5KB in a minimal MinSizeRel build with all DNN ops, 16KB in full release build.
2021-02-05 17:33:29 -08:00
..
android/logging The initial PR for NNAPI EP (#4287) 2020-06-26 00:02:39 -07:00
posix Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563) 2021-02-05 17:33:29 -08:00
windows Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563) 2021-02-05 17:33:29 -08:00
context.h Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
env.cc Replace GSL with GSL-LITE submodule and fix up refs (#1920) 2019-10-01 12:43:29 -07:00
env.h Remove Env::Task wrapper around std::function (#5753) 2020-11-10 20:22:07 +00:00
env_time.cc Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
env_time.h Refactor onnx_test_runner (#5169) 2020-09-18 13:19:35 -07:00
env_var_utils.h Rename MakeString and ParseString functions. (#6272) 2021-01-07 15:43:42 -08:00
path_lib.cc Fix nuget build (#5163) 2020-09-16 10:37:09 -07:00
path_lib.h Add option ORT_NO_EXCEPTIONS to disable most exception/throw in /onnxruntime/ (#4894) 2020-08-28 23:03:51 -07:00
scoped_resource.h Fixed tensor reference to const data and cleaned up Env API. (#1979) 2019-10-24 10:28:13 -07:00
telemetry.cc Add SetLanguageProjection C Api and use it in four projections (#5023) 2020-09-04 14:26:39 -07:00
telemetry.h Add SetLanguageProjection C Api and use it in four projections (#5023) 2020-09-04 14:26:39 -07:00