Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OpenCL Support #405
It would be nice if DyNet supported OpenCL in addition to CUDA. Recently, Eigen is moving in the direction of supporting OpenCL which would make this much more realistic: https://www.codeplay.com/portal/tensorflow™-for-opencl™-using-sycl™
However, this would still require a major engineering effort, so this issue would need a champion who really wants to see it get done. We're happy to have contributions!
Cool, it looks like the OpenCL support has been integrated in the Eigen upstream:
DyNet's current setup still has a lot of code based on "CPU or CUDA" as opposed to "choose your device", but with a bit of engineering we should be able to resolve this and make OpenCL an option.