Khanattila / KNLMeansCL

An optimized OpenCL implementation of the Non-local means de-noising algorithm
GNU General Public License v3.0
106 stars 21 forks source link

OpenCL error message on Nvidia GTX560 #14

Closed ofek closed 8 years ago

ofek commented 8 years ago

Using 0.7.2 release and included OpenCL.dll files on Windows 7 fails with this log (Nvidia driver is up-to-date):


* Error in OpenCL compiler *

Build Options

-cl-single-precision-constant -cl-denorms-are-zero -cl-fast-relaxed-math -Werror -D H_BLOCK_X=32 -D H_BLOCK_Y=4 -D V_BLOCK_X=32 -D V_BLOCK_Y=4 -D NLMK_TCLIP=73 -D NLMK_S=4 -D NLMK_WMODE=1 -D NLMK_D=1 -D NLMK_H2_INV_NORM=66.898148 -D NLMK_BIT_SHIFT=0

Build Log

:197:24: error: no matching function for call to 'read_imagef' const float u1 = read_imagef(U1, smp, p ).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :198:24: error: no matching function for call to 'read_imagef' const float u1_pq = read_imagef(U1, smp, p + q).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :200:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :202:24: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1, smp, p ); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :203:24: error: no matching function for call to 'read_imagef' const float4 u1_pq = read_imagef(U1, smp, p + q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :206:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :208:24: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1, smp, p ); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :209:24: error: no matching function for call to 'read_imagef' const float4 u1_pq = read_imagef(U1, smp, p + q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :213:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :229:24: error: no matching function for call to 'read_imagef' const float u1 = read_imagef(U1, smp, p ).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :230:24: error: no matching function for call to 'read_imagef' const float u1_mq = read_imagef(U1, smp, p - q).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :232:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p - q, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :234:24: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1, smp, p ); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :235:24: error: no matching function for call to 'read_imagef' const float4 u1_mq = read_imagef(U1, smp, p - q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :238:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p - q, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :240:24: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1, smp, p ); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :241:24: error: no matching function for call to 'read_imagef' const float4 u1_mq = read_imagef(U1, smp, p - q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :245:16: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4, p - q, (float4) val); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :262:32: error: no matching function for call to 'read_imagef' buffer[ly][lx + H_BLOCK_X] = read_imagef(U4_in, smp, p ).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :263:29: error: no matching function for call to 'read_imagef' buffer[ly][lx] = read_imagef(U4_in, smp, p - (int4) (H_BLOCK_X, 0, 0, 0)).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :264:33: error: no matching function for call to 'read_imagef' buffer[ly][lx + 2*H_BLOCK_X] = read_imagef(U4_in, smp, p + (int4) (H_BLOCK_X, 0, 0, 0)).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :271:15: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4_out, p, (float4) sum); ^~~~~~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :287:32: error: no matching function for call to 'read_imagef' buffer[ly + V_BLOCK_Y][lx] = read_imagef(U4_in, smp, p ).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :288:29: error: no matching function for call to 'read_imagef' buffer[ly][lx] = read_imagef(U4_in, smp, p - (int4) (0, V_BLOCK_Y, 0, 0)).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :289:33: error: no matching function for call to 'read_imagef' buffer[ly + 2*V_BLOCK_Y][lx] = read_imagef(U4_in, smp, p + (int4) (0, V_BLOCK_Y, 0, 0)).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :299:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4_out, p, (float4) val); ^~~~~~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :302:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4_out, p, (float4) val); ^~~~~~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :305:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U4_out, p, (float4) val); ^~~~~~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :321:22: error: no matching function for call to 'read_imagef' const float u4 = read_imagef(U4, smp, p ).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :322:22: error: no matching function for call to 'read_imagef' const float u4_mq = read_imagef(U4, smp, p - q).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :327:23: error: no matching function for call to 'read_imagef' const float u1_pq = read_imagef(U1, smp, p + q).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :328:23: error: no matching function for call to 'read_imagef' const float u1_mq = read_imagef(U1, smp, p - q).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :335:24: error: no matching function for call to 'read_imagef' const float4 u1_pq = read_imagef(U1, smp, p + q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :336:24: error: no matching function for call to 'read_imagef' const float4 u1_mq = read_imagef(U1, smp, p - q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :342:24: error: no matching function for call to 'read_imagef' const float4 u1_pq = read_imagef(U1, smp, p + q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :343:24: error: no matching function for call to 'read_imagef' const float4 u1_mq = read_imagef(U1, smp, p - q); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :365:22: error: no matching function for call to 'read_imagef' const float u1 = read_imagef(U1_in, smp, p).x; ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :372:22: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1_in, smp, p); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :379:22: error: no matching function for call to 'read_imagef' const float4 u1 = read_imagef(U1_in, smp, p); ^~~~~~~~~~~ cl_kernel.h:18364:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, int4 coord); ^ cl_kernel.h:18362:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, int2 coord); ^ cl_kernel.h:18363:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image2d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image2d_t image, sampler_t sampler, float2 coord); ^ cl_kernel.h:18365:25: note: candidate function not viable: no known conversion from '**attribute**((address_space(16776963))) image2d_array_t' to '**attribute**((address_space(16776963))) image3d_t' for 1st argument float4 **OVERLOADABLE** read_imagef(image3d_t image, sampler_t sampler, float4 coord); ^ :456:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) r); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :462:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) r); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :467:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) (r, g, b, 1.0f)); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :472:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) (r, g, b, 1.0f)); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :484:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) (r, g, b, 1.0f)); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :489:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) (r, g, b, 1.0f)); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^ :494:19: error: passing '**attribute**((address_space(16776963))) image2d_array_t' to parameter of incompatible type 'image2d_t' write_imagef(U1, p, (float4) (r, g, b, 1.0f)); ^~ cl_kernel.h:18597:46: note: passing argument to parameter 'image' here void **OVERLOADABLE** write_imagef(image2d_t image, int2 coord, float4 val); ^
Khanattila commented 8 years ago

NVIDIA simply has no suitable drivers for GT/GTX 500 series. Can you tell me that it is a stupid, because GT 640 is much slower than GTX 560, but it was released in 2012 as opposed to 2011.