how big is the texture memory? is any function able to get memory size?

my device is GTS 8600 with 384M memory, so how big is the texture memory? is it shared with global memory in the same physical memory space? any cuda function return the memory size?

—demy

Yes, textures are stored in the same physical memory as global data.

You can get the size of this using cudaDeviceProperties (totalGlobalMem).

Note that there are limits on the maximum size of a single texture. There is also some memory used for the framebuffer and CUDA internal buffers.