[Feature Request] Implement dynamically sized CPU sets for linux. #21241
Open
Description
Describe the feature request
Implement dynamically sized CPU sets in onnxruntime/core/platform/posix/env.cc (ThreadMain) so that systems with more than 1024 cores are handled properly. The linux man page for cpu_set describes the necessary calls: CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_ZERO_S, CPU_SET_S...
Describe scenario use case
Using any systems with more than 1024 cores.