diff options
author | Carlos Zubieta <czubieta.dev@gmail.com> | 2013-09-11 06:55:25 -0500 |
---|---|---|
committer | Téo Mazars <teo.mazars@ensimag.fr> | 2013-10-31 11:41:44 +0100 |
commit | a1baba1e7cd48d97413761965efec754c8d73961 (patch) | |
tree | 9f8d1906e47d296640e21387087393f753dd27df /opencl | |
parent | 2c5dfa494545435a49ddf5e68d74babfd6a3934e (diff) |
Fix segfault caused for lack of input format in box-min and box-max
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/box-max.cl.h | 2 | ||||
-rw-r--r-- | opencl/box-min.cl | 2 | ||||
-rw-r--r-- | opencl/box-min.cl.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/opencl/box-max.cl.h b/opencl/box-max.cl.h index 7a64f1d6..94d3d340 100644 --- a/opencl/box-max.cl.h +++ b/opencl/box-max.cl.h @@ -1,4 +1,4 @@ -static const char* box_max_cl_source = +static const char* box_max_cl_source = "__kernel void kernel_max_hor (__global const float4 *in, \n" " __global float4 *aux, \n" " int width, int radius) \n" diff --git a/opencl/box-min.cl b/opencl/box-min.cl index 1828afab..a9aebb1e 100644 --- a/opencl/box-min.cl +++ b/opencl/box-min.cl @@ -23,7 +23,7 @@ __kernel void kernel_min_hor (__global const float4 *in, } } -__kernel void kernel_max_ver (__global const float4 *aux, +__kernel void kernel_min_ver (__global const float4 *aux, __global float4 *out, int width, int radius) { diff --git a/opencl/box-min.cl.h b/opencl/box-min.cl.h index 8df03c96..95899b91 100644 --- a/opencl/box-min.cl.h +++ b/opencl/box-min.cl.h @@ -1,4 +1,4 @@ -static const char* box_min_cl_source = +static const char* box_min_cl_source = "__kernel void kernel_min_hor (__global const float4 *in, \n" " __global float4 *aux, \n" " int width, int radius) \n" |