diff options
author | David Phillips <david@sighup.nz> | 2017-02-23 22:46:46 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-02-23 22:46:46 +1300 |
commit | 5b1c35bd427a12ea39443142bf4540242a022963 (patch) | |
tree | fa78660445d2c3b767c5f6d0e131650ac21577ce /trampoline.c | |
parent | c408633a30a5a60f62f34d84e51a1198fb38f328 (diff) | |
download | fractal-gen-opencl-5b1c35bd427a12ea39443142bf4540242a022963.tar.xz |
Change kernel iteration type from uint to ulong
Diffstat (limited to 'trampoline.c')
-rw-r--r-- | trampoline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trampoline.c b/trampoline.c index 174ff26..fd0af52 100644 --- a/trampoline.c +++ b/trampoline.c @@ -288,7 +288,7 @@ int tramp_set_kernel_args(unsigned int s, unsigned int it) return 1; } - ret = clSetKernelArg(kernel, 2, sizeof(unsigned int), &iterations); + ret = clSetKernelArg(kernel, 2, sizeof(unsigned long), &iterations); if (ret != CL_SUCCESS) { fprintf(stderr, "Error on iteration argument: %s ", get_cl_error_string(ret)); return 1; |