cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Raistmer
Adept II

How to get current free GPU memory amount?

paradoxical feedback from calDeviceGetStatus()...

I found only one CAL function call relevant to memory amount, calDeviceGetAttribs, but it's description looks like total memory amount on device will be returned, not amount of free memory. If some programs already use part of GPU memory, how to check what amount of GPU memory still available ?
0 Likes
3 Replies
gaurav_garg
Adept I

There is calDeviceGetStatus to do the same thing.

0 Likes

Originally posted by: gaurav.garg

There is calDeviceGetStatus to do the same thing.


Thanks.
But it gives pretty strange results ....

It shows constant value for available memory no matter how many other GPU apps running.
Does CAL swap GPU memory to free it completely for another application??
There is only one GPU in system so it's imposible to query different devices....
0 Likes

Bump.
No one knows what calDeviceGetStatus() actually shows?
0 Likes