how to pass texture2D to CUDA kernel, such as ‘uniform sampler2D’ in glsl? use cudaTextureObject_t?
is the method the same for constant texture and dynamic texture?
how to pass texture2D to CUDA kernel, such as ‘uniform sampler2D’ in glsl? use cudaTextureObject_t?
is the method the same for constant texture and dynamic texture?