Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memory allocation Nvidia vs AMD

I know there is a 128MB limit for a single block of GPU memory on AMD GPU's. Is there a similar limit on Nvidia GPU's?

like image 403
JRPete Avatar asked Mar 23 '26 11:03

JRPete


1 Answers

You can query this information at runtime using clGetDeviceInfo and CL_DEVICE_MAX_MEM_ALLOC_SIZE.

See clGetDeviceInfo Man Page for more information.

like image 62
Dr. Snoopy Avatar answered Mar 25 '26 07:03

Dr. Snoopy