PDA

View Full Version : Implicit Retains



sean.settle
04-25-2011, 11:25 PM
I know every clCreate... performs an implicit retain and must be manually released. Does anymore know if clGetCommandQueueInfo also performs an implicit retain when retrieving CL_QUEUE_CONTEXT? Or should it manually be retained immediately following each successful retrieval? In either case it would also require being manually released.

david.garcia
04-26-2011, 05:01 AM
clGetCommandQueueInfo also performs an implicit retain when retrieving CL_QUEUE_CONTEXT? Or should it manually be retained immediately following each successful retrieval? In either case it would also require being manually released.

That's a great question. It does not perform an implicit retain, so you will have to retain it manually.