I have seen there is a cl.hpp wrapper on the khronos website.
Did anyone tried it? is there any example other than the one in the comment of the file itself?
i am working in Cpp, and i have some classes (mainly buffers) to which i would like to add a cl_mem attribute so that i can easily upload my data to a cl_mem buffer, download and so on.
I tried both retrieving a context from the class itself and setting it in the constructor, with the result that things crashes.
So, despite the fact that cl_context, cl_mem and so on are all pointers, i thought i must be doing something wrong, and perhaps this wrapper would help
thanks in advance