Re: [ViennaCL-devel] Handling a matrix from OpenCL

2016-03-31 Thread Jose Luis Cercós
Hi Karli, Thank you very much, you nailed it! I also found the following documentation (I do not why I have not found it before): http://viennacl.sourceforge.net/doc/manual-custom-contexts.html Hence, It is time to try to implement truly incompressible SPH in AQUAgpusph! Best wishes, Pepe 2016

Re: [ViennaCL-devel] Handling a matrix from OpenCL

2016-03-30 Thread Karl Rupp
Hi Jose, > (Is it Karl or Karli?) feel free to pick your favorite (just like Jose/Pepe) :-) > Thanks for your quick answer! I should further investigate. However, I > could not find how to execute an exclusive_scan() without downloading > the number of elements per row from the GPU to the host

Re: [ViennaCL-devel] Handling a matrix from OpenCL

2016-03-30 Thread Jose Luis Cercós
Hi Karl, (Is it Karl or Karli?) Thanks for your quick answer! I should further investigate. However, I could not find how to execute an exclusive_scan() without downloading the number of elements per row from the GPU to the host. Best wishes, Pepe 2016-03-29 22:24 GMT+02:00 Karl Rupp : > Hi Jo

Re: [ViennaCL-devel] Handling a matrix from OpenCL

2016-03-29 Thread Karl Rupp
Hi Jose, > I have been looking for documentation regarding how to handle a matrix > (sparse) in an OpenCL kernel. My main objective is to can fill a sparse > matrix using an OpenCL kernel. > > Would it be possible?? > > P.S. I can eventually precompute the matrix and indexes arrays sizes. Yes, t

[ViennaCL-devel] Handling a matrix from OpenCL

2016-03-29 Thread Jose Luis Cercós
Hi ViennaCL community! I have been looking for documentation regarding how to handle a matrix (sparse) in an OpenCL kernel. My main objective is to can fill a sparse matrix using an OpenCL kernel. Would it be possible?? P.S. I can eventually precompute the matrix and indexes arrays sizes. Thank