Skip to content

Create a better error message for unified backend failures #2346

Open
@umar456

Description

@umar456

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions