3 ms·
I've started with this[1] blog post, then worked quite a bit on adding proper error checking to the example code to figure out why it failed :), now the author
by pflanze 13y ago
I've started with this[1] blog post, then worked quite a bit on adding proper error checking to the example code to figure out why it failed :), now the author has merged my changes. So perhaps it's a worthwhile example to start from now. I haven't done much with OpenCL yet, though, in the end I figured out that my ~7-8 year old laptop ran SIMD optimized C code faster on the host CPU than on the GPU (I wrote this[2] with heavy SIMD optimization work, not sure anymore whether this was what I tested against OpenCL though), which is a reason why.
[1] http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/ http://www.thebigblob.com/getting-started-with-opencl-and-gp...
[2] https://github.com/pflanze/mandelbrot/tree/master/c https://github.com/pflanze/mandelbrot/tree/master/c