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

Function main

examples/image_processing/image_demo.cpp:89–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89int main(int argc, char** argv) {
90 int device = argc > 1 ? atoi(argv[1]) : 0;
91
92 try {
93 af::setDevice(device);
94 af::info();
95 printf("** ArrayFire Image Demo **\n\n");
96 img_test_demo();
97
98 } catch (af::exception& e) {
99 fprintf(stderr, "%s\n", e.what());
100 throw;
101 }
102
103 return 0;
104}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
img_test_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected