On Donnerstag 17 September 2009, Aaron Cohen wrote:
> I can insert some print statements if you want, but the code 
> that needs to be instrumented is in driver.py, 
> and this is a pretty deep list comprehension statement, 
> so I'll have to expand it 
> out to insert print statements.
> 

Use

def f(x):
   print x
   return x

then you don't have to expand it. :)

HTH,
Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to