| 12 | using namespace af; |
| 13 | |
| 14 | int main(int, const char**) { |
| 15 | int backend = getAvailableBackends(); |
| 16 | if (backend & AF_BACKEND_OPENCL) { |
| 17 | setBackend(AF_BACKEND_OPENCL); |
| 18 | } else if (backend & AF_BACKEND_CUDA) { |
| 19 | setBackend(AF_BACKEND_CUDA); |
| 20 | } else if (backend & AF_BACKEND_CPU) { |
| 21 | setBackend(AF_BACKEND_CPU); |
| 22 | } |
| 23 | |
| 24 | info(); |
| 25 | return 0; |
| 26 | } |
nothing calls this directly
no test coverage detected