Error when using af.set_backend('cuda') #202
Open
Comments
|
Hi @funcwj, do you have the arrayfire CUDA libraries on the directory you added to LD_LIBRARY_PATH? Also, could you check if you added the CUDA and CUDA NVVM lib directories to LD_LIBRARY_PATH? (Please see the wiki for more information about setting the environment variables) I am running Ubuntu 18.04, and I have these in the same directory that I have the CPU, OpenCL, and Unified backend libraries. Please check if they are there for you:
(Note that it says 3.7.0 there because I've built these from source - we haven't released 3.7.0 yet) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to switch backend using
af.set_backend('cuda'), I got error like:It seems that I do not have cuda devices as candiated backend although I have 8 gpus in fact, and the output of
af.info()and
af.get_backend()So does I missing something when installing the package?
The text was updated successfully, but these errors were encountered: