| 87 | } |
| 88 | |
| 89 | int main(int argc, char** argv) { |
| 90 | int device = argc > 1 ? atoi(argv[1]) : 0; |
| 91 | |
| 92 | try { |
| 93 | af::setDevice(device); |
| 94 | af::info(); |
| 95 | printf("** ArrayFire Image Demo **\n\n"); |
| 96 | img_test_demo(); |
| 97 | |
| 98 | } catch (af::exception& e) { |
| 99 | fprintf(stderr, "%s\n", e.what()); |
| 100 | throw; |
| 101 | } |
| 102 | |
| 103 | return 0; |
| 104 | } |
nothing calls this directly
no test coverage detected