You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reikna
I want to free all memory with method like context.pop() in pycuda.
Bogdan Opanchuk
unread,
Feb 15, 2017, 7:31:21 AM2/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reikna
context.pop() is called when the Thread object is deleted, which in CPython will happen when the last reference to it is deleted (e.g. when it goes out of scope, or you execute `del thr`). Alternatively, you can call `thr.release()` explicitly.