Repository navigation
test(cuda.core): do not require a wrong-class pool import to succeed without the location query - #3542
Conversation
…without the location query (NVIDIA#3540) The fallback test for drivers before 13.2 imported the pool with the other class and expected success. Without the pool kind check, a pinned import of a device pool grants every device access to a pool that lives on one GPU, which needs peer access and fails with CUDA_ERROR_PEER_ACCESS_UNSUPPORTED on dual-GPU machines without it. The test now checks only that importing with the exporter's class works without the location query.
|
/ok to test df05b17 |
|
No actionable comments were generated in the recent review. Summary
Change: Other · Severity of issue fixed: Low Merge Risk:
|
jpascucci-nv
left a comment
There was a problem hiding this comment.
codex agrees this fixes the failure.
|
Description
closes #3540
The fallback test added by #3516 imports a device pool with
PinnedMemoryResourceand expects success once the pool kind check is off. That fails withCUDA_ERROR_PEER_ACCESS_UNSUPPORTEDon GPUs without peer access, because the pinned import grants every device access to a pool that lives on one GPU. See #3540 for the analysis.The test now checks only that importing with the exporter's class works without the location query. The wrong-class rejection on a 13.2+ driver is still covered by
TestIpcPoolKind. Test-only change.The failure needs a dual-GPU machine without peer access, so it is confirmed only by a run on the nightly dual-L4 runners.
Checklist