AnsweredAssumed Answered

AMD 7970 reporting incorrect DEVICE_GLOBAL_MEM_SIZE

Question asked by glimberg on May 1, 2013
Latest reply on Feb 14, 2014 by myfunnyusername

I'm testing some OpenCL image processing on an AMD HD 7970 (Sapphire GHz edition). This particular card has 6GB of RAM onboard, however this call:


      uint64_t memSize = 0;

   clGetDeviceInfo(device, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(memSize), &memSize, NULL);


always returns a value of 2,147,483,648.

I've tried this on the Catalyst drivers 13.1, 13.3 Beta, 13.4, and 13.5 Beta. All returned 2,147,483,648.

Is there an issue with this OpenCL call for returning the actual memory size of a card? Is there some sort of setting for this card that limits the amount of OpenCL memory that can be used?

Any insight would be helpful!