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

OpenCL support #30

Open
thelukester92 opened this issue Oct 28, 2016 · 1 comment
Open

OpenCL support #30

thelukester92 opened this issue Oct 28, 2016 · 1 comment
Labels

Comments

@thelukester92
Copy link
Collaborator

We use Cuda right now for GPU parallelization, but OpenCL is more widely supported. Perhaps we should look into adding OpenCL support.

@mikegashler
Copy link
Owner

I certainly like the idea of using a general interface better than a proprietary one. However, in chatting with our local GPGPU expert, I got the impression that OpenCL was a good idea but its implementation ended up being significantly more complex than Cuda, and Cuda was surging ahead so much faster that the long-term viability of OpenCL was in question. I went with Cuda because it was simpler, and I felt like I was just writing temporary code that would have to be redesigned soon anyway.

Now, it looks like we will have to rewrite the GPGPU stuff, so this is a great time to re-evaluate my original decision. I don't know enough to about GPGPU programming to check my impressions, or to know whether things have changed. Two other options include adding a dependency on ViennaCL or CUDNN for our GPGPU needs. I usually avoid superfluous dependencies, but this might be a sufficiently special case to justify it.

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

No branches or pull requests

2 participants