codeboycjy

Allocate memory failed. How to clear memory on display card?

Discussion created by codeboycjy on Aug 5, 2009
Latest reply on Aug 8, 2009 by Raistmer

Hi:
   Currently, we're doing ray tracing.
   And there is a problem for us. Each frame for our scene, we have to allocate memory on our display card. If the resolution is large ( such as 1280 * 1024 ), allocation for memory will failed because memory doesn't dissappear immiediately if stream is deleted on host side.

   Is there a way to clear the memory on GPU side?
   For example , i've a stream . And i want to resize it , so i have to delete the old one and create the new one, but it doesn't work every time because the memory is not deleted on GPU side immiediately.

Outcomes