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

Fixed alingment issue "cudaSuccess (74 vs. 0) misaligned address" #6548

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kostinalexey
Copy link

In some situations it is possible to have max_workspace to be not multiple of 16. This will lead to at least workspace[1] to be unaligned. Resulting later in "cudaSuccess (74 vs. 0) misaligned address" error.

I am not sure if we must have alignment to 16 bytes (in my case the fix works with alignment to 8 bytes). But I believe using extra 8 bytes in this rare case to be a bit future proof is justified.

@kostinalexey
Copy link
Author

This will also fix issue #5729

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.

None yet

1 participant