5 Replies Latest reply: Feb 13, 2014 10:52 PM by myfunnyusername RSS

AMD 7970 reporting incorrect DEVICE_GLOBAL_MEM_SIZE

glimberg Newbie
Currently Being Moderated

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!


More Like This

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points