-
Notifications
You must be signed in to change notification settings - Fork 65
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
backends do not load in proper order #251
Comments
zzjjbb
changed the title
backend does not load with proper order
backend does not load in proper order
Feb 24, 2021
zzjjbb
changed the title
backend does not load in proper order
backends do not load in proper order
Feb 24, 2021
This is a mistake in the dev branch, the master branch should still have the correct code. Thank you for catching that! I'll make sure to address if we decide merge dev into master. There are a few incoming changes (related to library.py) that need to go into effect before we will be looking at the dev branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This line has a comment
# Iterate in reverse order of preference
. However, it loads them with some random order, because the object to iterate is aset
, which doesn't keep the order. In my Linux computer, when I runimport arrayfire as af
, the function will be called and it loads""
first, and due toerr!=0
, it directly returns and not loads anything.By the way, I simply change
{"cpu", "opencl", "cuda", ""}
to["cuda"]
and I can import arrayfire with no error.The text was updated successfully, but these errors were encountered: