Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common FFT GPU interface #1

Open
jakebolewski opened this issue Jan 22, 2014 · 2 comments
Open

Common FFT GPU interface #1

jakebolewski opened this issue Jan 22, 2014 · 2 comments

Comments

@jakebolewski
Copy link

It would be nice to have a common high level interface to both the CLFFT and CUFFT libraries. They have many similarities (high cost of plan creation, similar feature set, overall api design, etc.) so there is bound to be significant overlap between the two. Making it easy to try out either library with minimal code changes would be worthwhile.

@timholy
Copy link
Contributor

timholy commented Jan 23, 2014

Interesting that you found this!

I agree that something common would be good. I seriously considered targeting OpenCL, but in my browsing I found evidence that clFFT wasn't ideal on NVIDIA hardware (which is what we own). I feel I have enough irons in various fires without embarking on submitting pull requests to the clFFT repository 😄.

Right now this is very bare-bones, and it doesn't even work with the driver API wrapper. Once the low-level stuff is working, then I agree, it would be great to think about a more common interface. It's only a handful of functions, really.

@timholy
Copy link
Contributor

timholy commented Feb 4, 2014

Hah, I didn't even notice until today that you've already got a CLFFT interface! My previous comments may have seemed a bit dense.

When I get around to updating this I will look into providing an interface as similar to yours as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants