cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

hotstone
Journeyman III

OpenCL FFT implementation

Hi all,

I`m trying to understand the following article related to subject:

http://developer.amd.com/resources/documentation-articles/articles-whitepapers/opencl-optimization-c...

namely FFT_64 kernel. Author says:

"The above shown listing begins with a function map_id() that computes the relative memory offsets within each workgroup."

But how exactly should this function look like? I guess it should map instances to avoid bank conflicts but have no idea how exactly should this function be implemented. Can someone help me with that?

Thanks,

-Sergio

0 Likes
2 Replies
kknox
Staff

Hi @hotstone,

If your interest lies in needing to use an OpenCL FFT library, I would point you to the open source clFFT library at github:

clMathLibraries/clFFT · GitHub

If your interest is in reproducing your own implementation for learning, then I can't help you with this article.  You should be able to step through the source in the repository above and see how it constructs it's kernels, but it's development was not related to this article.

Kent

Thanks a lot, really helpful!

0 Likes