cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

scrape
Journeyman III

radeon 7970 3gb card only showing 2gb in 32bit linux

Hello,

My Radeon 7970 has 3gb of memory.  The global memory size only shows 3gb when I query the device.  I have set the environment variable GPU_MAX_HEAP_SIZE to 100.    The OS I am running is 32-bit debian sid.  I have several other cards which all show the correct memory when that environment variable is set to 100.

Thanks,

  Scrape

0 Likes
1 Solution
yurtesen
Miniboss

Did you try the undocumented/unsupported:

GPU_MAX_ALLOC_PERCENT=100

View solution in original post

0 Likes
5 Replies
binying
Challenger

what is the command u used to query the device?

Using "clinfo", can you get the correct info about the card?

clinfo gives me more memory than I thought was on the card:

Global memory size:   375809638

When I call clGetDeviceInfo for the property CL_DEVICE_GLOBAL_MEM_SIZE I get: 2147483648

per yurteson's suggestion once I set GPU_MAX_ALLOC_PERCENT=100 in the environment, clGetDeviceInfo gives me:  3102736384

I am now more confused than before

0 Likes
nou
Exemplar

from release notes AMD APP SDK

On Linux for non-Southern_Islands platforms, the OpenCL runtime currently exposes less than the total amount of memory

physically available on the card. In Windows and on Linux or Southern-Islands-based platforms, the OpenCL runtime reports the total amount of physical memory for boards with up to 2 GB.

yurtesen
Miniboss

Did you try the undocumented/unsupported:

GPU_MAX_ALLOC_PERCENT=100

0 Likes

That worked, thanks,  really weird stuff.

0 Likes