Hello,
can you please tell me whats the execution time for both cudaBindTexture() and cudaUnbindTexture()?
and also
I have 20 Kernels totally, so I wanted to call the cudaBindTexture() function before kenels and cudaUnbincTexture() after all kernels execution.
something like below…
cudaBindTexteure( tex1 );
cudaBindTexteure( tex2 );
cudaBindTexteure( tex3 );
…
cudaBindTexteure( tex20 );
Kernel1<<< x,y >>>( ) // tex1 is used in this kernel
Kernel2<<< x,y >>>( ) // tex21 is used in this kernel
Kernel3<<< x,y >>>( ) // tex1 is used in this kernel
…
Kernel20<<< x,y >>>( ) // tex20 is used in this kernel
cudaUnbindTexture( tex1 );
cudaUnbindTexture( tex2 );
cudaUnbindTexture( tex3 );
…
cudaUnbindTexture( tex20 );
What is the total texture memory avialable on a 9600GS GPU card?
For example, total texture memory is occupied by the first 15 handles, then what about the tex16,17,18,19,20 handle’s memory?