News for hackers. Stuff that matters.
Re:Interactive GPU Programming, Part 2: Hello OpenCL by thebeardedone on Thursday February 08, 2018 @01:02PM (#16334106)
ClojureCL looks quite awesome, it looks like it takes all of the boiler plate out in comparison to C but I am very interested in the overhead. I tried aparapi for my bachelor thesis and for larger problems it seemed to have quite the overhead that the normal kernel did not have (several years ago). After watching your talk on youtube [1], I saw you compared the GPU implementation to the JVM and other CPU implementations in Clojure. Do you have any numbers for the same kernel being called from a native C openCL application?

[1] https://www.youtube.com/watch?v=bEOOYbscyTs

Re:Interactive GPU Programming, Part 2: Hello OpenCL by dragandj on Thursday February 08, 2018 @02:49PM (#16335024)
For equivalent code, you will not experience any noticeable difference compared to C. It is nothing like Aparapi.
Re:Interactive GPU Programming, Part 2: Hello OpenCL by dragandj on Thursday February 08, 2018 @12:02PM (#16333579)
Re:Interactive GPU Programming, Part 2: Hello OpenCL by marmaduke on Thursday February 08, 2018 @05:43PM (#16336249)
PyOpenCL provides a NumPy like array, usable from IPython or Jupyter,

https://documen.tician.de/pyopencl/array.html

It doesn't support the more complex NumPy APIs, but it's a good starting point.

Re:Interactive GPU Programming, Part 2: Hello OpenCL by benbenolson on Thursday February 08, 2018 @12:47PM (#16333975)
The title should state that it's all in Clojure...
Re:Interactive GPU Programming, Part 2: Hello OpenCL by 0xfeba on Thursday February 08, 2018 @03:55PM (#16335518)
This was the introduction to OpenCL and GPU programming that I was looking for. Great read.
Re:Interactive GPU Programming, Part 2: Hello OpenCL by fg8qfg8fg8 on Thursday February 08, 2018 @12:21PM (#16333747)
Is it possible to share contexts with OpenGL for visualization ?
Re:Interactive GPU Programming, Part 2: Hello OpenCL by dragandj on Thursday February 08, 2018 @02:50PM (#16335030)
Yes. OpenCL supports that. However, I am using it for computation and Machine Learning algorithms, so I haven't tried that myself and can't give you detailed pointers.