This is a moving area (GPUs and CPUs seems to be in a slow process of converging), but most GPUs are good at single instruction a lot of data.
(Disclaimer: I have mostly looked at nvidia gpus of ~6months ago) Most architectures are made to execute a lot of times the same instruction on a different block of data. You can have if...then...else... in your GPU programs, but every processor will execute both branchs (with a tag saying wether or not it is *really* executing it or not) This makes GPUs bad at computing typical JVM programs, or even to exploit Clojure's ease of concurrency. (Again, this might change. Intel wants to put x86 in their GPU, nvidia wants to make CPUs...) It is perfectly possible to use a native interface and OpenCL/Cuda/Stream to progrm your GPU though. A small CLojure library does that if I remember well, but don't recall the name. But you will have to be explicit in how you want your program to use the GPU.... No free lunch, at least for now. On Mon, Jul 19, 2010 at 3:30 AM, Victor S <victor.s...@gmail.com> wrote: > Hi, > > Just a curiosity question, I'm not sure how far off the JVM is from > running on your GPU, but I imagine that with the hundreds and even > thousands of cores, a GPU might, theoretically show us just what > Clojure can do... > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en