Re: [ViennaCL-devel] Interfacing with clMAGMA?

2016-08-12 Thread Charles Determan
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

Re: [ViennaCL-devel] Interfacing with clMAGMA?

2016-08-12 Thread Karl Rupp
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

Re: [ViennaCL-devel] Interfacing with clMAGMA?

2016-08-12 Thread Charles Determan
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

Re: [ViennaCL-devel] Interfacing with clMAGMA?

2016-08-12 Thread Charles Determan
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