Commit f7937bd
committed
Fix uint64_t compilation errors and implement >64 CPU support
- Add #include <cstdint> to cpu.h, cpu.cpp, and platform.h.in
- Implement extended CpuSet class supporting >64 CPUs
- Add fast path for <=64 CPUs and extended path for >64 CPUs
- Include necessary headers for std::max, std::vector, memset, etc.
- Fix original code's missing stdint.h includes for uint64_t usage
- Maintain backward compatibility with platform-specific APIs
Fixes #61421 parent 601c8c2 commit f7937bd
3 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments