 #include <cuda_runtime.h>
 #include <curand_mtgp32_kernel.h>
 #include <device_launch_parameters.h>
+#include <stdio.h>
 
 /*************************************************************
  * V11: device side


    dst_data.ptr(idy)[idx] = out;
}

__global__
void filter_gauss_horiz_v11_by_2( cudaTextureObject_t src_data,

    __syncthreads();
    read_x = clamp( off_x, src_w );
    loaddata[idx+4] = src_data.ptr(read_y)[read_x];
    __syncthreads();

    float g;
    float val;
