Would be possible to add an extension for OpenCL to know the free memory available on the card, pls?
Somthing similar to what you're already doing with
http://www.opengl.org/registry/specs/ATI/meminfo.txt
thx
You can always do your own memory management, keeping track of currently allocated buffer's sizes and subtract them from total memory available on card.