Using device : Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
Program build failed : <program source>:38:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:51:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:154:1: warning: implicit declaration of function 'convert___uchar3_sat' is invalid in C99
CONVERT_KERNEL(to_uchar, CONCATENATE(uchar, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___uchar3_sat
^
<program source>:154:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_uchar, CONCATENATE(uchar, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:155:1: warning: implicit declaration of function 'convert___char3_sat' is invalid in C99
CONVERT_KERNEL(to_char, CONCATENATE(char, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___char3_sat
^
<program source>:155:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_char, CONCATENATE(char, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:156:1: warning: implicit declaration of function 'convert___ushort3_sat' is invalid in C99
CONVERT_KERNEL(to_ushort, CONCATENATE(ushort, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___ushort3_sat
^
<program source>:156:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_ushort, CONCATENATE(ushort, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:157:1: warning: implicit declaration of function 'convert___short3_sat' is invalid in C99
CONVERT_KERNEL(to_short, CONCATENATE(short, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___short3_sat
^
<program source>:157:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_short, CONCATENATE(short, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:158:1: warning: implicit declaration of function 'convert___uint3_sat' is invalid in C99
CONVERT_KERNEL(to_uint, CONCATENATE(uint, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___uint3_sat
^
<program source>:158:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_uint, CONCATENATE(uint, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:159:1: warning: implicit declaration of function 'convert___int3_sat' is invalid in C99
CONVERT_KERNEL(to_int, CONCATENATE(int, NBCHAN))
^
<program source>:120:46: note: expanded from macro 'CONVERT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, CONCATENATE(dest_type, _sat)) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___int3_sat
^
<program source>:159:1: warning: unused variable 'pos'
CONVERT_KERNEL(to_int, CONCATENATE(int, NBCHAN))
^
<program source>:116:7: note: expanded from macro 'CONVERT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:160:1: warning: implicit declaration of function 'convert___float3' is invalid in C99
CONVERT_FLOAT_KERNEL(to_float, CONCATENATE(float, NBCHAN))
^
<program source>:130:46: note: expanded from macro 'CONVERT_FLOAT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, dest_type) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___float3
^
<program source>:160:1: warning: unused variable 'pos'
CONVERT_FLOAT_KERNEL(to_float, CONCATENATE(float, NBCHAN))
^
<program source>:126:7: note: expanded from macro 'CONVERT_FLOAT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:161:1: warning: implicit declaration of function 'convert___double3' is invalid in C99
CONVERT_FLOAT_KERNEL(to_double, CONCATENATE(double, NBCHAN))
^
<program source>:130:46: note: expanded from macro 'CONVERT_FLOAT_KERNEL'
dest[gy * dst_step + gx] = CONCATENATE(convert_, dest_type) (src);\
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:46:40: note: expanded from macro 'CONCATENATE'
#define CONCATENATE(a, b) _CONCATENATE(a, b)
^
/Users/jeffheifetz/Coding/Bubl/BublEqui/extern/OpenCLIPP/Demo/../cl-files/Base.h:47:28: note: expanded from macro '_CONCATENATE'
#define _CONCATENATE(a, b) a ## b
^
<scratch space>:13:1: note: expanded from macro 'convert_'
convert___double3
^
<program source>:161:1: warning: unused variable 'pos'
CONVERT_FLOAT_KERNEL(to_double, CONCATENATE(double, NBCHAN))
^
<program source>:126:7: note: expanded from macro 'CONVERT_FLOAT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:163:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_uchar, CONCATENATE(uchar, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:164:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_char, CONCATENATE(char, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:165:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_ushort, CONCATENATE(ushort, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:166:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_short, CONCATENATE(short, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:167:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_uint, CONCATENATE(uint, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:168:1: warning: unused variable 'pos'
SCALE_KERNEL(scale_to_int, CONCATENATE(int, NBCHAN))
^
<program source>:136:7: note: expanded from macro 'SCALE_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:169:1: warning: unused variable 'pos'
SCALE_FLOAT_KERNEL(scale_to_float, CONCATENATE(float, NBCHAN))
^
<program source>:147:7: note: expanded from macro 'SCALE_FLOAT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:170:1: warning: unused variable 'pos'
SCALE_FLOAT_KERNEL(scale_to_double, CONCATENATE(double, NBCHAN))
^
<program source>:147:7: note: expanded from macro 'SCALE_FLOAT_KERNEL'
BEGIN\
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:174:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:183:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:196:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:205:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:213:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
<program source>:232:4: warning: unused variable 'pos'
BEGIN
^
<program source>:32:15: note: expanded from macro 'BEGIN'
const int2 pos = { gx, gy };
^
kernel referenced external symbol 'convert___char3_sat' which could not be found.
kernel referenced external symbol 'convert___double3' which could not be found.
kernel referenced external symbol 'convert___float3' which could not be found.
kernel referenced external symbol 'convert___int3_sat' which could not be found.
kernel referenced external symbol 'convert___short3_sat' which could not be found.
kernel referenced external symbol 'convert___uchar3_sat' which could not be found.
kernel referenced external symbol 'convert___uint3_sat' which could not be found.
kernel referenced external symbol 'convert___ushort3_sat' which could not be found.
�
- in file : ../cl-files/Convert.cl
libc++abi.dylib: terminating with uncaught exception of type cl::Error: clBuildProgram