In a cuda 11.3 program, I'm using
tex2D(texture<T, 2, cudaReadModeElementType>, float, float)
which was declared deprecated in texture_fetch_functions.h(198). What replaces it ? and how do I use it ?
warning : function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]" 2>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include\texture_fetch_functions.h(198): here was declared deprecated