Re: Audio Units and OpenCL?
Re: Audio Units and OpenCL?
- Subject: Re: Audio Units and OpenCL?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 9 Sep 2009 11:11:52 +0200
Yes, the concurrency programming guide:
http://developer.apple.com/mac/library/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html
You may also read this introduction from Mike Ash:
http://www.mikeash.com/?page=pyblog/friday-qa-2009-08-28-intro-to-grand-central-dispatch-part-i-basics-and-dispatch-queues.html
http://www.mikeash.com/?page=pyblog/friday-qa-2009-09-04-intro-to-grand-central-dispatch-part-ii-multi-core-performance.html
Le 9 sept. 2009 à 10:48, tahome izwah a écrit :
Sounds easy enough. Is there any documentation on this somewhere on
the 'net (still waiting for my copy of Snow Leopard here)...
Thanks
--th
2009/9/9 Jean-Daniel Dupas <email@hidden>:
I will try GDC first. So much simple, replace you loop with this:
void *objects[50];
dispatch_queue_t queue =
dispatch_get_global_qeueue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_apply(50, queue, ^(size_t index) {
DoSomethingWithObject(objects[index]);
});
// Everything done, you can continue.
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden