Re: Better late than never! OpenCL Example (mostly)
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