Learning to use OpenCL by rendering the Mandelbrot set