Speed up Computations with Parallel GPU Computing

Write code that will use the maximum available precision on the specific CUDA or OpenCL device.

    
First, define the OpenCL code to build the Julia set fractal:
In[1]:=
Click for copyable input
Compile and link the OpenCL code automatically in Mathematica:
In[2]:=
Click for copyable input
Now you can build the interactive interface to dynamically call the OpenCL code:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input