aboutsummaryrefslogtreecommitdiff
path: root/Release/cl
diff options
context:
space:
mode:
Diffstat (limited to 'Release/cl')
-rw-r--r--Release/cl/mandelbrot32.cl10
1 files changed, 9 insertions, 1 deletions
diff --git a/Release/cl/mandelbrot32.cl b/Release/cl/mandelbrot32.cl
index af0d0e9..585d0ae 100644
--- a/Release/cl/mandelbrot32.cl
+++ b/Release/cl/mandelbrot32.cl
@@ -1,5 +1,13 @@
-__kernel void calculate(__global uchar4 * mandelbrotImage, const float posx, const float posy, const float stepSizeX, const float stepSizeY, const uint maxIterations, const uint width)
+__kernel void calculate(
+ __global uchar4 * mandelbrotImage,
+ const float posx,
+ const float posy,
+ const float stepSizeX,
+ const float stepSizeY,
+ const uint maxIterations,
+ const int width)
{
+//printf("%f, %f, %f, %f, %u, %d", posx, posy, stepSizeX, stepSizeY, maxIterations, width);
int tid = get_global_id(0);
int i = tid % (width / 4);