• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Better late than never! OpenCL Example (mostly)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better late than never! OpenCL Example (mostly)


  • Subject: Re: Better late than never! OpenCL Example (mostly)
  • From: Darrin Cardani <email@hidden>
  • Date: Fri, 4 Sep 2009 15:31:15 -0700


On Sep 4, 2009, at 3:21 PM, Brian Gardner wrote:

I found it with a simple google search: "site:developer.apple.com opencl".

Your version of 'simple' is different from mine. :-) I was still back googling just "OpenCL". :-P

Also be sure to download the OpenCL spec from Khronos:

<www.khronos.org/registry/cl/specs/opencl-1.0.29.pdf>

OpenCL and Grand Central Dispatch are separate technologies. You can use one or the other separately, or both together.

Is there any doc on how to use GCD directly? Can GCD be used inside a FxPlug? Or is this something that I should avoid for now?

It's hard to say, since I haven't used it myself. In general, in Motion, it's difficult to run your own threads because your threads may potentially block some other thread in Motion causing a deadlock. Since we don't yet have a threading API that you can safely access, there's not usually an easy way to do this. Hopefully we'll be able to create one in the future. It seems like it would be less of a problem in FCP since it renders on the UI thread, but I'm sure there are probably issues there, as well.


In any event, you can read the reference documentation here:

<http://developer.apple.com/mac/library/documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html >

It looks like some good conceptual docs are here:

<http://developer.apple.com/mac/library/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html >

As always, searching on developer.apple.com is your friend!

Darrin
--
Darrin Cardani
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Better late than never! OpenCL Example (mostly)
      • From: Brian Gardner <email@hidden>
References: 
 >Better late than never! OpenCL Example (mostly) (From: Darrin Cardani <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Paul Schneider <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)

  • Prev by Date: Re: Better late than never! OpenCL Example (mostly)
  • Next by Date: FCP, plugins and time/date format
  • Previous by thread: Re: Better late than never! OpenCL Example (mostly)
  • Next by thread: Re: Better late than never! OpenCL Example (mostly)
  • Index(es):
    • Date
    • Thread