Replaced __constant with __global to make stockham kernels compatible with nVidia hardware