Commit ce333b6
cuda.core.system: affinity, clock, fan, temperature and thermals (#1492)
* cuda.core.system: More device-related APIs
* Fix line wrapping
* Hide handle as an implementation detail
* Update cuda_core/cuda/core/system/_device.pyx
Co-authored-by: Copilot <[email protected]>
* Address comments from Copilot
* Working on tests
* Fix tests
* Fix creating new device
* Fix iterator
* Fix affinity test
* Fix nearest GPUs
* cuda.core.system: affinity, clock, fan, temperature and thermals
* Address comments from Copilot
* Fix tests
* Fix test on WDDM Windows
* Add comments about pointer lifetime.
* Fix tests
---------
Co-authored-by: Copilot <[email protected]>1 parent 1af5db9 commit ce333b6
File tree
11 files changed
+1142
-387
lines changed- cuda_bindings/cuda/bindings
- cuda_core
- cuda/core/system
- docs/source
- tests/system
11 files changed
+1142
-387
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
199 | | - | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | 217 | | |
219 | 218 | | |
220 | 219 | | |
| |||
0 commit comments