MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / main

Function main

examples/computer_vision/fast.cpp:66–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66int main(int argc, char** argv) {
67 int device = argc > 1 ? atoi(argv[1]) : 0;
68 bool console = argc > 2 ? argv[2][0] == '-' : false;
69
70 try {
71 af::setDevice(device);
72 af::info();
73 printf("** ArrayFire FAST Feature Detector Demo **\n\n");
74 fast_demo(console);
75
76 } catch (af::exception& ae) {
77 fprintf(stderr, "%s\n", ae.what());
78 throw;
79 }
80
81 return 0;
82}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
fast_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected