Skip to content

Conversation

@grolysaini
Copy link

cudart.cudaMemcpyAsync and cudart.cudaStreamSynchronize return a tuple which leads to AttributeError as cudart.cudaGetErrorString(err) expects a cudaError_t. This is solved by adding type check before passing it to the raise function.

@grolysaini grolysaini requested a review from a team as a code owner November 1, 2025 14:58
MrGeva and others added 2 commits November 1, 2025 16:11
cudart.cudaMemcpyAsync and cudart.cudaStreamSynchronize return a tuple
which leads to AttributeError as cudart.cudaGetErrorString(err) expects
a cudaError_t. This is solved by adding type check before passing it to
the raise function.

Signed-off-by: Gr0ly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants