Commit 1d2b50a
committed
fix(cuda.core): unify NUMA-host-on-cu12 error wording
Two divergent error messages were rejecting NUMA-host inputs on cu12:
* `_managed_location.py:44` (call boundary, primary path):
"Host(numa_id=...) / Host.numa_current() require both cuda-bindings
13.0+ and a CUDA 13+ runtime driver; use Host() instead"
* `_managed_memory_ops.pyx:119` (defensive Cython guard):
"use Host() instead — NUMA-aware host locations
(Host(numa_id=...), Host.numa_current()) require a CUDA 13 build
of cuda.core"
The latter wording was stale — "CUDA 13 build of cuda.core" conflates
the binding-build gate with the runtime-driver gate, the exact
distinction that PRs #2054 / #2064 fixed. Update the pyx-side message
to match the call-boundary wording.
Test regexes for the kind-rejection cases (3 sites in TestManagedBuffer)
previously matched the stale wording; update them to match the unified
substring `cuda-bindings 13\.0\+` so cu12 jobs pass.
Fixes the CI failure of `test_advise_location_validation` /
`test_operation_validation` on all CUDA 12.9.1 matrix jobs.1 parent c63874d commit 1d2b50a
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
0 commit comments