Skip to content
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

Create a better error message for unified backend failures #2346

Open
umar456 opened this issue Nov 13, 2018 · 1 comment
Open

Create a better error message for unified backend failures #2346

umar456 opened this issue Nov 13, 2018 · 1 comment

Comments

@umar456
Copy link
Member

umar456 commented Nov 13, 2018

The unified backend loads several libraries and its difficult to figure out what is the cause of the failure. Th

ERROR app - ArrayFire Exception (Failed to load dynamic library. :501):
Error in af_err unified::AFSymbolManager::setBackend(af::Backend)
In file src/api/unified/symbol_manager.cpp:239
Failed to load dynamic library. See http://www.arrayfire.com/docs/unifiedbackend.htm for instructions to set up environment for Unified backend.

We should return an error message that describes the source of the failure. af_get_last_error should return this message and the exception should have this set as the message.

@9prady9
Copy link
Member

9prady9 commented Apr 23, 2020

@umar456 With stack trace, trace output showing which backend library failed to load. Can we save this is complete or are we still missing something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants