Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@gmail.com>2018-02-20 09:50:15 +0300
committerGitHub <noreply@github.com>2018-02-20 09:50:15 +0300
commit44de2db45cff82b1437ea12dd3fd411772819210 (patch)
tree42f9de8567f35c616728a2d639d24a316ffb55db /README.md
parentb2fc4ab8099b802de934f24adf2da6e4c863bd3c (diff)
README: document Windows support
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 74611ef..6ecfce5 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ cpuinfo is a library to detect essential for performance optimization informatio
## Features
- **Cross-platform** availability:
- - Linux, macOS, Android, and iOS operating systems
+ - Linux, Windows, macOS, Android, and iOS operating systems
- x86, x86-64, ARM, and ARM64 architectures
- Modern **C/C++ interface**
- Thread-safe
@@ -135,9 +135,9 @@ pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpu_set);
- [x] OS X
- [x] x86
- [x] x86-64
-- [ ] Windows
- - [ ] x86
- - [ ] x86-64
+- [x] Windows
+ - [x] x86
+ - [x] x86-64
## Methods
@@ -191,5 +191,6 @@ pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpu_set);
- [ ] Using CPUID leaf 0x8000001E on x86/x86-64 (AMD APIC ID)
- [x] Using `/proc/cpuinfo` (Linux)
- [x] Using `host_info` (Mach)
+ - [x] Using `GetLogicalProcessorInformationEx` (Windows)
- [x] Using sysfs (Linux)
- [x] Using chipset name (ARM/Linux)