| 55 | using detail::ushort; |
| 56 | |
| 57 | af_err af_set_backend(const af_backend bknd) { |
| 58 | try { |
| 59 | if (bknd != getBackend() && bknd != AF_BACKEND_DEFAULT) { |
| 60 | return AF_ERR_ARG; |
| 61 | } |
| 62 | } |
| 63 | CATCHALL; |
| 64 | |
| 65 | return AF_SUCCESS; |
| 66 | } |
| 67 | |
| 68 | af_err af_get_backend_count(unsigned* num_backends) { |
| 69 | *num_backends = 1; |
no test coverage detected