diff options
author | David Phillips <david@sighup.nz> | 2017-09-28 00:42:48 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-09-28 00:42:48 +1300 |
commit | da1d6cddec8f7e8067056257ecb299215df6824f (patch) | |
tree | 3d1ff3e51fc509c3d1aa5540eb7ca1c90060f753 /cl/mandelbrot.cl | |
parent | 6cfc8add274feadbe9357638ad83c207ddd39f4d (diff) | |
download | fractal-gen-opencl-master.tar.xz |
Diffstat (limited to 'cl/mandelbrot.cl')
-rw-r--r-- | cl/mandelbrot.cl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cl/mandelbrot.cl b/cl/mandelbrot.cl index 8617ae5..d72148f 100644 --- a/cl/mandelbrot.cl +++ b/cl/mandelbrot.cl @@ -1,11 +1,11 @@ __kernel void fractal_gen( __global unsigned char *buffer, const unsigned int size, - const unsigned long iterations) + const unsigned int iterations) { unsigned int x = get_global_id(0); unsigned int y = get_global_id(1); - unsigned long i = 0; + unsigned int i = 0; float a = -2.5+(((float)x)/size)*3.5; float b = -1.75+(((float)y)/size)*3.5; |