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

fix illegal memory access error #312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dingfengshi
Copy link

In some cases (such as when there are a large number of points), executing convolution operations can result in illegal memory access errors. The reason is that the kernel responsible for computing the kmap has not completed execution before launching the next operation, leading to unpredictable memory access. To address this issue, an additional synchronization step is added to wait for the previous kernel to finish. This ensures that the next operation does not start until the preceding kernel has completed.

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