| 69 | } |
| 70 | |
| 71 | int main(int argc, char** argv) { |
| 72 | int device = argc > 1 ? atoi(argv[1]) : 0; |
| 73 | bool console = argc > 2 ? argv[2][0] == '-' : false; |
| 74 | |
| 75 | try { |
| 76 | af::setDevice(device); |
| 77 | af::info(); |
| 78 | printf("** ArrayFire SUSAN Feature Detector Demo **\n\n"); |
| 79 | susan_demo(console); |
| 80 | |
| 81 | } catch (af::exception& ae) { |
| 82 | fprintf(stderr, "%s\n", ae.what()); |
| 83 | throw; |
| 84 | } |
| 85 | |
| 86 | return 0; |
| 87 | } |
nothing calls this directly
no test coverage detected