Thanks Karl,
One followup question, what distinguishes handle(), handle1(), and
handle2()? Do they refer to different buffers?
Regards,
Charles
On Fri, Aug 12, 2016 at 3:13 PM, Karl Rupp wrote:
> Hi Charles,
>
> call .handle()/.handle1()/.handle2() to get the abstract memory buffers,
> and ca
Hi Charles,
call .handle()/.handle1()/.handle2() to get the abstract memory buffers,
and call .opencl_handle() on them to get the cl_mem handles:
A.handle().opencl_handle()
Similarly, the command queue is obtained with
viennacl::ocl::get_queue().handle().get()
Unfortunately it's not explic
I also would need to access the command queue handle (cl_command_queue)
object to pass to clBLAS and clMAGMA functions. Is this easily accessible
as well?
Thanks,
Charles
On Fri, Aug 12, 2016 at 11:45 AM, Charles Determan
wrote:
> Thanks Karl,
>
> I have been looking through the docs and I can
Thanks Karl,
I have been looking through the docs and I can't find an example for how to
pull the OpenCL handles from a matrix. I saw a couple I think from a
context but not sure that is what I need. Is this in the documentation
somewhere? The closest I could fine is this page (
http://viennacl