Not sure if this has been asked before ,but is there a way to look at the usage/stats of texture memory used in a CUDA program just like you can determine for global memory, registers, shared memory, and constant memory using -cubin or --ptxas-options=-v options with nvcc.
cuda-gdb doesnt give much insight on whats happening on the device ,and whether my program is efficiently using textures for the purpose i have placed them for.
Any pointers will be helpful.
Thank You.
–Sudy
PS : I am aware that textures are glorified global memory which is cached ,but not sure if could make out any meaning from the global memory usage.
Tx so much Eyal…The delta definitely is a workaround to see the time texture has been using on Kernel Run.
The thing is ,I have been trying to audaciously do piecewise trilinear interpolation using textures ,where in my texture is bound to a 3D Array of 128128128,However there are some non integer indices which i want to interpolate over the 3D bound texture as opposed to using the usual texture coordinates (which are the thread indices out of Grid Block).
I am not even sure in the first place whether that’s allowed and hence was tryin to search for something like the profiler to see how texture is behaving while I attempt this.
This evokes another question whether i can use other than thread indices for 3D texture coordinates ??