<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hi,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I was wondering if there was a way to list the content 
of the stack, in C, ie functions like "get_from_stack" and "get_next_from_stack" 
or something like that.</FONT></DIV>
<DIV><FONT face=Calibri>When I have a memory error from the GPU side, I'd like 
to have a look at every pointer from the stack. I would have a custom stack of 
my own, containing every pointer holding a reference to a matrix in GPU memory. 
To be able to look in the stack would allow me to free unecessary matrix that 
eat space on the GPU.</FONT></DIV></BODY></HTML>