onnxruntime/include/onnxruntime/core/common
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
..
logging Add Cmake config for onnxruntime_NO_EXCEPTIONS (#4975) 2020-09-01 10:17:50 -07:00
code_location.h Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563) 2021-02-05 17:33:29 -08:00
common.h Remove condition from ORT_RETURN_IF[_NOT] macro output. (#6563) 2021-02-05 17:33:29 -08:00
const_pointer_container.h
denormal.h Sunghcho/denormals (#5391) 2020-10-15 12:47:42 -07:00
eigen_common_wrapper.h Parallel all the activations ops (#3722) 2020-05-05 01:18:17 -07:00
exceptions.h
make_string.h Rename MakeString and ParseString functions. (#6272) 2021-01-07 15:43:42 -08:00
make_unique.h
optional.h Upgrade optional implementation to https://github.com/martinmoene/optional-lite. (#5563) 2020-11-03 15:27:47 -08:00
parse_string.h Rename MakeString and ParseString functions. (#6272) 2021-01-07 15:43:42 -08:00
spin_pause.h ThreadPool clean up : mm_pause in loops, correctly spin-then-wait, and adopt static methods consistently in the API (#5590) 2020-10-28 09:49:18 +00:00
status.h