-
Notifications
You must be signed in to change notification settings - Fork 2
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
GPU Recursion #26
Comments
Generally speaking you can't do recursion in the GPUs as they don't have a stack (although this Hoever, it sounds like only the thing calling the kernel is recursive, which should Are you absolutely sure that your buffer is of the correct size, and that your kernel is |
The sizing seems correct, but let's say the kernel calls on a recursive function within its body, is that still feasible ? |
Ah - the ban on recursion within the kernel covers both direct and indirect If you rememer the rough sketch of how the GPU does parallelism from the Once you have any kind of recursion, then there needs to be some kind of Note that if you use CUDA, rather than OpenCL, the recursion is available Though the AWS part does support CUDA, so if you want to go in that |
Is it possible to use GPU computing for recursive processes, even if the kernel isn't being called recursively ? I keep getting a segmentation error when trying to write from my output buffer to my output vector...
The text was updated successfully, but these errors were encountered: