Description
Describe the issue
The CPUAllocator does not use the mimalloc, although it was build:
I even tried to add USE_MIMALLOC into project's Preprocessor Definitions
and also into the code itself as
#define USE_MIMALLOC 1
To reproduce
Script I used to compile the ORT:
.\build.bat --config Debug --build_shared_lib --parallel --use_cuda --cuda_home "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8" --cudnn_home "C:\Program Files\NVIDIA GPU Computing Toolkit\cuDNN\cudnn-windows-x86_64-8.9.0.131_cuda11-archive" --cuda_version 11.8 --use_tensorrt --tensorrt_home "C:\Program Files\NVIDIA GPU Computing Toolkit\TensorRT\TensorRT-10.9.0.34.Windows.win10.cuda-11.8\TensorRT-10.9.0.34" --use_tensorrt_oss_parser --cmake_generator "Visual Studio 16 2019" --compile_no_warning_as_error --cmake_path E:\3rdParties\cmake-4.0.3\build\bin\Release\cmake.exe --skip_tests --enable_cuda_line_info --use_mimalloc --cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF --skip_tests --cmake_extra_defines onnxruntime_ENABLE_MEMLEAK_CHECKER=OFF
Urgency
Not urgent
Platform
Windows
OS Version
11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.22.0
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response