-
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
Unable to set the backend to opencl #230
Comments
I believe the set_backend call should be the first arrayfire call in C++. I would think that is same here in python wrapper too assuming python wrapper doesn't add anything custom. Try moving set_backend as the first one after importing the package. |
I tried calling the set_backend immediately after importing the package.
I still get the same error. |
@syurkevi Might have a better idea of what's happening. He should be online soon. Please wait for his response. |
I use the following driver for my card with mesa-opencl-icd loader and radeon driver.
Installed Arrayfire and made sure that all the libraries are loaded. Using the ArrayFire.jl, arrayfire loads in Julia perfectly and runs on my AMD card.
But, in my Python the array fire loads with the following info:
I also use the following in my .bashrc to update my environment:
When I try to change the backend, I get the following error:
Is there something that I am missing?
The text was updated successfully, but these errors were encountered: