Skip to content

Fix: COOMatrix float data copy size in GPU path#758

Open
ilhamsyahids wants to merge 1 commit into
benfred:mainfrom
ilhamsyahids:fix/gpu-coomatrix-float-copy
Open

Fix: COOMatrix float data copy size in GPU path#758
ilhamsyahids wants to merge 1 commit into
benfred:mainfrom
ilhamsyahids:fix/gpu-coomatrix-float-copy

Conversation

@ilhamsyahids
Copy link
Copy Markdown

Summary

Fix the GPU COOMatrix constructor to copy sparse data using sizeof(float) instead of sizeof(int). COOMatrix receives float data from the Cython wrapper and allocates the destination buffer as float, but the host-to-device cudaMemcpy used the wrong element size.

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.

1 participant