public static cudaChannelFormatDesc cudaCreateChannelDesc(int x, int y, int z, int w, cudaChannelFormatKind kind)
        {
            cudaChannelFormatDesc res;

            res.x = x;
            res.y = y;
            res.z = z;
            res.w = w;
            res.f = kind;
            return(res);
        }
Exemplo n.º 2
0
 public static extern cudaChannelFormatDesc cudaCreateChannelDesc(int x, int y, int z, int w, cudaChannelFormatKind f);