cccl icon indicating copy to clipboard operation
cccl copied to clipboard

[BUG][STF] Enabling P2P accesses fails if the application already enabled it

Open caugonnet opened this issue 9 months ago • 0 comments

Is this a duplicate?

  • [x] I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct

Type of Bug

Runtime Error

Component

CUDA Experimental (cudax)

Describe the bug

Maybe this should not raise an error, but a warning, or no warning as the application must have enabled it on purpose.

We should check that there is no risk of disabling P2P before the completion of STF operations, or document that if it was enabled it is undefined behaviour to disable it again.

How to Reproduce

Create a main application that enables P2P before creating a ctx on a multi-gpu machine

Expected behavior

This should not crash during ctx startup

Reproduction link

No response

Operating System

No response

nvidia-smi output

No response

NVCC version

No response

caugonnet avatar Apr 11 '25 08:04 caugonnet