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

Function main

examples/image_processing/pyramids.cpp:85–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
pyramids_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected