You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of code is duplicated between cladldevice.go/cldevice.go/cudevice.go to work around having hard run-time dependencies on libraries. Should be able to reduce this somehow.
The text was updated successfully, but these errors were encountered:
The Go plugin stuff mentioned above is now released but doesn't work with Cgo so that's not an option.
Probably the best path forward would be to just support both OpenCL/CUDA in the same binary and statically link the CUDA runtime library. The OpenCL runtime is dynamically loaded anyway so it just needs a stub for linking essentially.
A lot of code is duplicated between cladldevice.go/cldevice.go/cudevice.go to work around having hard run-time dependencies on libraries. Should be able to reduce this somehow.
The text was updated successfully, but these errors were encountered: