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

Function main

examples/computer_vision/susan.cpp:71–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71int 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}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
susan_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected