I have AMD Radeon HD 6970 GPU. It's have 2GB GDDR5 Memory. When i am trying to pass array of 200000000 (i.e 200 million) integer array to OpenCL Kernel it gives me wrong result.
If we count theoretically
200000000 X 4 bye (sizeof integer) = 800000000 bytes
800000000 / 1024 = 781250 KB
781250 / 1024 = 762.939453125 MB
It's less than GDDR 2GB memory
On other side, if i pass upto 64000000 elements array it gives correct result. why this happen?
Can any buddy help me.