| 109 | } |
| 110 | |
| 111 | int main(int argc, char** argv) { |
| 112 | int device = argc > 1 ? atoi(argv[1]) : 0; |
| 113 | |
| 114 | try { |
| 115 | af::info(); |
| 116 | af::setDevice(device); |
| 117 | printf("** ArrayFire Image Morphing Demo **\n\n"); |
| 118 | morphing_demo(); |
| 119 | |
| 120 | } catch (af::exception& e) { |
| 121 | fprintf(stderr, "%s\n", e.what()); |
| 122 | throw; |
| 123 | } |
| 124 | |
| 125 | return 0; |
| 126 | } |
nothing calls this directly
no test coverage detected