hughperkins / distro-cl

OpenCL Torch
147 stars 17 forks source link

THClReduceAll.cl build log: <program source>:9:10: warning: unused variable 'in1' float *in1 = &_in1;?Error #22

Open CJHFUTURE opened 7 years ago

CJHFUTURE commented 7 years ago

Getting this error when testing the install.Any ideas? Using Apple , OpenCL platform: Apple Using OpenCL device: GeForce GTX 980 Ti

THClReduceAll.cl build log:

:9:10: warning: unused variable 'in1' float *in1 = &_in1; ^ :10:10: warning: unused variable 'out' float *out = &_out;
ache7 commented 7 years ago

This is not an error, it's a compiler warnings. Apple OpenCL driver loves to bother with annoying warnings.