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

Function main

examples/image_processing/brain_segmentation.cpp:141–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141int main(int argc, char* argv[]) {
142 int device = argc > 1 ? atoi(argv[1]) : 0;
143 bool console = argc > 2 ? argv[2][0] == '-' : false;
144
145 try {
146 af::setDevice(device);
147 af::info();
148
149 printf("Brain segmentation example\n");
150 brain_seg(console);
151
152 } catch (af::exception& e) { fprintf(stderr, "%s\n", e.what()); }
153
154 return 0;
155}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
brain_segFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected