-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Consider add SVM Buffer interface support? #523
Comments
I don't have time myself to work on this, but I'm happy to review a pull request. However, adding a new interface type can be a lot of work, especially if we want to keep the current interface as well. And it means lots of extra code and thus also lots of maintenance. In the past I've started a similar thing, but then for adding image support as input, but never finished it: |
How about this interface?
offset is not needed and should be set to 0 in the kernel. My consider. |
Yes, I guess that could work, looks clean indeed. This would then be added into a new header, say By the way, I'm not so familiar with SVM. What would happen if I just provide a normal C++ float pointer as |
Currently, the interface fot the cl_mem buffer object.
How about the SVM buffer in OpenCL 2.0 ?
The text was updated successfully, but these errors were encountered: