Commit d8db269
Check and load a functional backend
Though libraries of a given backend can be present on the target
machine, there can be scenarios where a compatible hardware device
is not available. In such cases, backend loader checks if current
selected backend has a device ready for use. If no appropriate
device exists, the next backend in the priority list is checked
for same criteria. This process is repeated until a working
backend is found. In the event that no functional backend is found,
the program throws a runtime error.1 parent 596951d commit d8db269
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
537 | 552 | | |
538 | | - | |
539 | | - | |
| 553 | + | |
540 | 554 | | |
541 | 555 | | |
542 | 556 | | |
| |||
0 commit comments