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

What OpenCL version did you use? KernelFunctor and the args give me grief. #2

Open
pluto-skaalhelarsen opened this issue May 4, 2016 · 0 comments

Comments

@pluto-skaalhelarsen
Copy link

It looks like you may not be working on this anymore. Anyway, I have an AMD card with OpenCL that I write with quite a bit. I'd like to compile your code, but you use the KernelFunctor features of OpenCL that have changed several times, essentially with every release. I've tried substituting every cl.hpp that I can find, but I get compiler errors somewhere in your usage of KernelFunctor or the argument assignment functions on every combination I've tried. I've experimented with several obvious variations on your code using different functor recommendations from the Khronos documents. The main issue there is that you set the args from the context structure which is not present when the functor is called. The way your code works is great, and I would prefer to set the args and trigger the functor separately, as you do. I may restructure your code, but perhaps you can tell me what OpenCL you used to compile.

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

No branches or pull requests

1 participant