Is there a way to check for the free memory avaiable? The comand clGetDeviceInfo whith the parameter CL_DEVICE_GLOBAL_MEM_SIZE just returns the total memory, not the avaiable memory. I know that cuMemGetInfo return this value so it should be avaiable in OpenCL too.
There is no standard way to query the available memory. I haven’t heard of any extension to do that either.
Really? Am I the first one who needs this feature? I continue searching…
[quote:2tuo6ot4]There is no standard way to query the available memory.
Yes, really. I am familiar with the standard
What could you do with that number, anyway? The amount of free memory in the system can change at any time.
I haven’t know any extension about the global memory.
So, There is no way of query. Check your post again.