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