cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

08amczb
Journeyman III

Radeon R9 290 4GB cards OpenCL info says 2GB global memory???

Yesterday arrived my tow brand new ASUS AMD Radeon R9 290 4GB video card. I've installed the latest driver, and when I started my OpenCL project I've realized it doesen't see the half of the memory. What shuold I do? It's a driver bug?

Here is tow pictures from Geeks3D GPU Caps View:

gpuinfo.pngopenclinfo.png

I'm using Win7 Pro 64bit Intel i5-4440, 16GB ram, R9 290 is the second video card, the first is: ASUS ATI Radeon HD 5450 (so the display connected to this one)

Thanks for help!

EDIT: My process is 64 bit. I've set GPU_MAX_HEAP_SIZE environmental variable to bigger values than 50, but it only worked for smaler values.

EDIT2: Setting GPU_MAX_ALLOC_PERCENT environmental variable to 100 resulted 3GB global memory and 3.7GB max allocation size.

Tags (4)
0 Kudos
Reply
4 Replies
nou
Exemplar

Re: Radeon R9 290 4GB cards OpenCL info says 2GB global memory???

set enviroment var GPU_FORCE_64BIT_PTR=1 end run again.

0 Kudos
Reply
moozoo
Adept III

Re: Radeon R9 290 4GB cards OpenCL info says 2GB global memory???

nou beat me to it

AMD should make this the default (and fully support it), at least for card with 4Gb+

For the Kaveri APU it should be the default. Especially under 64 bit OS's

(or is Kaveri limited to 2GB below 4GB because of lack of vision by BIOS developers)

0 Kudos
Reply
myfunnyusername
Journeyman III

Re: Radeon R9 290 4GB cards OpenCL info says 2GB global memory???

You might want to take a look here. I assume its the same problem (still waiting for an answer): AMD 7970 reporting incorrect DEVICE_GLOBAL_MEM_SIZE

0 Kudos
Reply
08amczb
Journeyman III

Re: Radeon R9 290 4GB cards OpenCL info says 2GB global memory???

Thanks!

This configuration solved my problem:

GPU_FORCE_64BIT_PTR=1

GPU_MAX_HEAP_SIZE=92

GPU_MAX_ALLOC_PERCENT=100

It reports coherent data, and 3768MB global memory.

0 Kudos
Reply