Results 1 to 7 of 7

Thread: Check for free global memory avaiable

  1. #1

    Check for free global memory avaiable

    Hi,

    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.

    Thank you.

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Check for free global memory avaiable

    There is no standard way to query the available memory. I haven't heard of any extension to do that either.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3

    Re: Check for free global memory avaiable

    Quote Originally Posted by david.garcia
    There is no standard way to query the available memory.
    Really? Am I the first one who needs this feature? I continue searching...

  4. #4
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Check for free global memory avaiable

    [quote:2tuo6ot4]There is no standard way to query the available memory.
    Really?[/quote:2tuo6ot4]

    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.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  5. #5

    Re: Check for free global memory avaiable

    Quote Originally Posted by david.garcia
    What could you do with that number, anyway?
    A lot of things

    Thank you for your reply

  6. #6
    Junior Member
    Join Date
    Feb 2011
    Location
    USA
    Posts
    4

    Re: Check for free global memory avaiable

    I haven't know any extension about the global memory.
    So, There is no way of query. Check your post again.

  7. #7

    Re: Check for free global memory avaiable

    Quote Originally Posted by AGGIE
    I haven't know any extension about the global memory.
    So, There is no way of query. Check your post again.
    What?

Similar Threads

  1. Command to free Memory
    By luizdrumond in forum OpenCL
    Replies: 4
    Last Post: 01-08-2013, 07:30 AM
  2. How to get free memory size on the device?
    By eugine in forum OpenCL
    Replies: 3
    Last Post: 08-19-2010, 01:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •