Results 1 to 2 of 2

Thread: Implicit Retains

  1. #1
    Senior Member
    Join Date
    Mar 2011
    Location
    Seoul
    Posts
    120

    Implicit Retains

    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.

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Implicit Retains

    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.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. clEnqueueKernel with implicit or or explicit local_size
    By sean.settle in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 1
    Last Post: 09-14-2011, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •