You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affine transform without interpolation works, so I assume there is a issue on the interpolation version. Main difference between the two is the position from which the kernel read and write.
My guess is on the read and write position computation. I used the POS_src_INSTANCE and POS_dst_INSTANCE while the original kernel uses float4 and int4 (float2 and int2 for 2d). But READ_IMAGE do not accept a float4 or float2, making the kernel build fail.
read_imagef can take float2 and float4 as coordinate, which works in combination with the sampler.
The issue can be fixed by updating the defines generation in CLIc.
See: clEsperanto/CLIc@f1f23fe
Trying to fix clEsperanto/pyclesperanto#204
Affine transform without interpolation works, so I assume there is a issue on the interpolation version. Main difference between the two is the position from which the kernel read and write.
My guess is on the read and write position computation. I used the
POS_src_INSTANCE
andPOS_dst_INSTANCE
while the original kernel usesfloat4
andint4
(float2
andint2
for 2d). ButREAD_IMAGE
do not accept afloat4
orfloat2
, making the kernel build fail.why is https://github.com/clEsperanto/clij-opencl-kernels/blob/master/kernels/affine_transform_3d_interpolate_x.cl works while https://github.com/clEsperanto/clij-opencl-kernels/blob/clesperanto_kernels/kernels/affine_transform_interpolate.cl fail to build
I might need an extra help to understand here @haesleinhuepf
The text was updated successfully, but these errors were encountered: