I'm recently needing to investigate GPGPU computation for various
research projects, so I was going to start building things out a
little.
The first big question, though, is should we go the CUDA route, or the
OpenCL route?
Cuda is more feature complete, and has a powerful BLAS and even sparse
blas libraries, with Java wrappers already.
OpenCL of course works on more things, and the maintainer of JavaCL is
a big supporter of Scala. If we went this route, we'd need to probably
outsource a lot of the computation to another library. The best
candidate I can find is ViennaCL.
Thoughts? Any strong preferences? I have nvidia gpus in all my machines, so...
On Wed, Oct 17, 2012 at 12:46 AM, David Hall <d...@cs.berkeley.edu> wrote:
> Hi everyone,
> I'm recently needing to investigate GPGPU computation for various
> research projects, so I was going to start building things out a
> little.
> The first big question, though, is should we go the CUDA route, or the
> OpenCL route?
> Cuda is more feature complete, and has a powerful BLAS and even sparse
> blas libraries, with Java wrappers already.
> OpenCL of course works on more things, and the maintainer of JavaCL is
> a big supporter of Scala. If we went this route, we'd need to probably
> outsource a lot of the computation to another library. The best
> candidate I can find is ViennaCL.
> Thoughts? Any strong preferences? I have nvidia gpus in all my machines,
> so...
> -- David
> --
> You received this message because you are subscribed to the Google Groups
> "Scala Breeze" group.
> To post to this group, send email to scala-breeze@googlegroups.com.
> To unsubscribe from this group, send email to
> scala-breeze+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
<ericmartinchristian...@gmail.com> wrote:
> I really like that OpenCL is an open standard.
> On Wed, Oct 17, 2012 at 12:46 AM, David Hall <d...@cs.berkeley.edu> wrote:
>> Hi everyone,
>> I'm recently needing to investigate GPGPU computation for various
>> research projects, so I was going to start building things out a
>> little.
>> The first big question, though, is should we go the CUDA route, or the
>> OpenCL route?
>> Cuda is more feature complete, and has a powerful BLAS and even sparse
>> blas libraries, with Java wrappers already.
>> OpenCL of course works on more things, and the maintainer of JavaCL is
>> a big supporter of Scala. If we went this route, we'd need to probably
>> outsource a lot of the computation to another library. The best
>> candidate I can find is ViennaCL.
>> Thoughts? Any strong preferences? I have nvidia gpus in all my machines,
>> so...
I certainly agree that OpenCL would be better given infinite time.
It's just a question of tradeoffs. It's very easy to write a
cuda-based library: you just have to wrap jcublas and jcusparse.
Writing an OpenCL involves dealing with ViennaCL, or actually
implementing things...
I'd like to write an OpenCL library, but I worry about time overhead.
-- David
On Wed, Oct 17, 2012 at 2:33 PM, Donnchadh Ó Donnabháin
<donnch...@gmail.com> wrote:
> +1 for OpenCL, also for its openness.
> Donnchadh
> On 17 October 2012 22:02, Eric Christiansen
> <ericmartinchristian...@gmail.com> wrote:
>> I really like that OpenCL is an open standard.
>> On Wed, Oct 17, 2012 at 12:46 AM, David Hall <d...@cs.berkeley.edu> wrote:
>>> Hi everyone,
>>> I'm recently needing to investigate GPGPU computation for various
>>> research projects, so I was going to start building things out a
>>> little.
>>> The first big question, though, is should we go the CUDA route, or the
>>> OpenCL route?
>>> Cuda is more feature complete, and has a powerful BLAS and even sparse
>>> blas libraries, with Java wrappers already.
>>> OpenCL of course works on more things, and the maintainer of JavaCL is
>>> a big supporter of Scala. If we went this route, we'd need to probably
>>> outsource a lot of the computation to another library. The best
>>> candidate I can find is ViennaCL.
>>> Thoughts? Any strong preferences? I have nvidia gpus in all my machines,
>>> so...
>>> -- David
>>> --
> --
> You received this message because you are subscribed to the Google Groups "Scala Breeze" group.
> To post to this group, send email to scala-breeze@googlegroups.com.
> To unsubscribe from this group, send email to scala-breeze+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
I don't know if you've made progress on this in the last 4 months, but I'd like to chime in with +1 for OpenCL. Apple committed to OpenCL for Mac GPUs starting with Snow Leopard. So I see CUDA as an excluding choice and OpenCL as an inclusive choice. I'm a Mac user, and with Snow Leopard, apple ships with an OpenCL implementation out of the box.
You mentioned JavaCL and it's sister ScalaCL. Maybe I'm missing something, but why could you not simply change your BLAS implementation to javacl-blas?
On Wednesday, October 17, 2012 2:46:59 AM UTC-5, David Hall wrote:
> Hi everyone,
> I'm recently needing to investigate GPGPU computation for various > research projects, so I was going to start building things out a > little.
> The first big question, though, is should we go the CUDA route, or the > OpenCL route?
> Cuda is more feature complete, and has a powerful BLAS and even sparse > blas libraries, with Java wrappers already.
> OpenCL of course works on more things, and the maintainer of JavaCL is > a big supporter of Scala. If we went this route, we'd need to probably > outsource a lot of the computation to another library. The best > candidate I can find is ViennaCL.
> Thoughts? Any strong preferences? I have nvidia gpus in all my machines, > so...
On Wed, Jan 23, 2013 at 11:29 AM, Bryan Taylor <bryan_w_tay...@yahoo.com> wrote:
> I don't know if you've made progress on this in the last 4 months, but I'd
> like to chime in with +1 for OpenCL. Apple committed to OpenCL for Mac GPUs
> starting with Snow Leopard. So I see CUDA as an excluding choice and OpenCL
> as an inclusive choice. I'm a Mac user, and with Snow Leopard, apple ships
> with an OpenCL implementation out of the box.
> You mentioned JavaCL and it's sister ScalaCL. Maybe I'm missing something,
> but why could you not simply change your BLAS implementation to javacl-blas?
> On Wednesday, October 17, 2012 2:46:59 AM UTC-5, David Hall wrote:
>> Hi everyone,
>> I'm recently needing to investigate GPGPU computation for various
>> research projects, so I was going to start building things out a
>> little.
>> The first big question, though, is should we go the CUDA route, or the
>> OpenCL route?
>> Cuda is more feature complete, and has a powerful BLAS and even sparse
>> blas libraries, with Java wrappers already.
>> OpenCL of course works on more things, and the maintainer of JavaCL is
>> a big supporter of Scala. If we went this route, we'd need to probably
>> outsource a lot of the computation to another library. The best
>> candidate I can find is ViennaCL.
>> Thoughts? Any strong preferences? I have nvidia gpus in all my machines,
>> so...
>> -- David
> --
> You received this message because you are subscribed to the Google Groups
> "Scala Breeze" group.
> To post to this group, send email to scala-breeze@googlegroups.com.
> To unsubscribe from this group, send email to
> scala-breeze+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scala-breeze/-/gaF5jxk6WwYJ.