Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out shared memory and global memory size of GPU?

I want to know what is the shared memory and global memory size of my GPU. I am using nvidia tesla k40c. I found this link and it says standard memory is 12 GB. Is standard memory the same thing as global memory? How can I find size of shared memory? is there any command that shows gpu features? I used nvidia-smi command but it didn't give information about memory sizes. How can I find out memory sizes?

Thanks

like image 703
starrr Avatar asked Oct 26 '25 15:10

starrr


1 Answers

Yes, the standard memory in your link is global memory.

There's a program deviceQuery in CUDA samples, which shows the info you need. You could find it in CUDA dir, typically in /usr/local/cuda/samples/1_Utilities/deviceQuery. The following document also tells you how to build it.

http://docs.nvidia.com/cuda/cuda-samples/#device-query

like image 151
kangshiyin Avatar answered Oct 28 '25 07:10

kangshiyin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!