maweigert / gputools

GPU accelerated image/volume processing in Python
BSD 3-Clause "New" or "Revised" License
108 stars 20 forks source link

sampler unused in interpolate3? #20

Closed jni closed 4 years ago

jni commented 4 years ago

I noticed that the sampler variable is used by fill_patch3 in conv_spatial3.cl but not by interpolate3, where it is instantiated but unused:

https://github.com/maweigert/gputools/blob/6ab26efeb05dceef74cf13aadeeeb9b009b529dd/gputools/convolve/kernels/conv_spatial3.cl#L113

Is this intentional?

maweigert commented 4 years ago

Thanks, you're right. Should be fixed now.