Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUstream does not compare when the underlying pointer is the same #465

Open
leofang opened this issue Feb 24, 2025 · 0 comments
Open

CUstream does not compare when the underlying pointer is the same #465

leofang opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working cuda.bindings Everything related to the cuda.bindings module triage Needs the team's attention

Comments

@leofang
Copy link
Member

leofang commented Feb 24, 2025

See CI failure: https://github.com/NVIDIA/cuda-python/actions/runs/13488648820/job/37683655417?pr=463#step:18:264

>       assert other_stream.handle == stream.handle
E       assert <CUstream 0x559c33ea2e20> == <CUstream 0x559c33ea2e20>
E        +  where <CUstream 0x559c33ea2e20> = <cuda.core.experimental._stream.Stream object at 0x7fd4dd21e1d0>.handle
E        +  and   <CUstream 0x559c33ea2e20> = <cuda.core.experimental._stream.Stream object at 0x7fd4de7b7f40>.handle

tests/test_stream.py:93: AssertionError
@leofang leofang added bug Something isn't working cuda.bindings Everything related to the cuda.bindings module triage Needs the team's attention labels Feb 24, 2025
@leofang leofang changed the title CUstream does not compare equal to itself CUstream does not compare when the underlying pointer is the same Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda.bindings Everything related to the cuda.bindings module triage Needs the team's attention
Projects
None yet
Development

No branches or pull requests

2 participants