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

Function main

examples/computer_vision/harris.cpp:120–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120int main(int argc, char** argv) {
121 int device = argc > 1 ? atoi(argv[1]) : 0;
122 bool console = argc > 2 ? argv[2][0] == '-' : false;
123
124 try {
125 af::setDevice(device);
126 af::info();
127 printf("** ArrayFire Harris Corner Detector Demo **\n\n");
128 harris_demo(console);
129
130 } catch (af::exception& ae) {
131 fprintf(stderr, "%s\n", ae.what());
132 throw;
133 }
134
135 return 0;
136}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
harris_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected