yok7
yok7
已成功领取本issue
## 🔔 Ready for Review - Critical CI Fixes Hi maintainers! 👋 This PR is now **ready for review** and addresses several **critical compilation issues** that are currently affecting the...
1.Do the current implementations of Windows, Linux, and macOS already support >64 CPUs? (1)Winsows:现有的版本不支持。旧的实现使用了SetThreadAffinityMask API和ULONG_PTR掩码,在64位系统上,这从根本上被限制在单个处理器组内,而单个处理器组最多只能管理64个核心。我的实现引入了现代的SetThreadGroupAffinity API,这是微软官方推荐的、用于在 >64 CPU 系统上设置亲和性的方法,它能够正确地将线程亲和性设置到任意一个处理器组(Processor Group)中。 (2)Linux:现有的版本支持,我尝试在ubuntu系统上(qemu运行的72核心的环境)编译运行通过了ctest的137个测试 (3)macOS:现有的版本不支持。macOS没有提供强大的CPU亲和性设置机制,其 thread_policy_set API 功能受限(通常最多32个核心)。我觉得在这个平台上实现真正意义上的 >64 CPU亲和性控制是不太可行的。 2.Are the related...