Login  Register

Re: port of apple's fft

Posted by notzed on Aug 30, 2010; 3:31am
URL: https://forum.jogamp.org/port-of-apple-s-fft-tp1379040p1386733.html


Hi Michael,

Yep I had a good look at the AMD one too - but it's only fixed function/1d, the Apple one is somewhat more complete and could form the basis of a decent implementation.

I'm happy for it to end up in the demos - will a patch on the bug tracker suffice?  (i just don't want to deal with a git fork yet).  It's not terribly tidy.  I'll also try to convert some test code I have into a demo as well (just simple image convolution stuff).

BTW should put1drangekernel(kernel, 0, G, L);
be the same as
put2drangekernel(kernel, 0, 0, G, 1, L, 1);?

I spent an inordinate amount of time working out why the 2d fft only ran over a tiny part of the data and it ended up being the putkernel call, the former didn't work the latter did.

Cheers,
 Michael


Michael Bien wrote
  Sure this would be great. If you agree we could add it to the
jocl-demos project.

fyi: The AMD SDK ships also with a FFT example.

regards,
michael

On 08/28/2010 06:53 AM, notzed [via jogamp] wrote:
> Would anyone be interested in apple's fft code ported to jocl?  Or has
> someone already done it?
>
> http://developer.apple.com/mac/library/samplecode/OpenCL_FFT/Introduction/Intro.html
>
> I ported most of it for work in a couple of hours, but if the boss
> wont let me use that version I can always do it again (I want to use
> it for my own code at some point anyway).
>
> It's pretty knarly code but i tried and failed to write my own and
> there's not much else out there that i've been able to find.  Although
> google has become next to useless at finding anything technical
> lately, even more-so with java so it could just be hidden away somewhere.
>
>
>
> ------------------------------------------------------------------------
> View message @
> http://jogamp.762907.n3.nabble.com/port-of-apple-s-fft-tp1379040p1379040.html 
>
> To start a new topic under jogamp, email
> ml-node+762907-380265080-8131@n3.nabble.com
> To unsubscribe from jogamp, click here
> <http://jogamp.762907.n3.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=762907&code=YmllbmF0b3JAYXJjb3IuZGV8NzYyOTA3fDQxNTEwMDY0OA==>.
>
>


--
- - - -
http://michael-bien.com