make filter for CudaNdarray check for stride == 0 for dim == 1.