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); }
public static extern cudaChannelFormatDesc cudaCreateChannelDesc(int x, int y, int z, int w, cudaChannelFormatKind f);