microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

Simplify CPU allocator arena usage helper function, fix unit tests that check old ifdefs. #22876

Closed edgchen1 closed 2 days ago

edgchen1 commented 3 days ago

Description

Simplify CPU allocator arena usage helper function, fix unit tests that check old ifdefs.

Motivation and Context

Fix #22873.