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

Function main

examples/image_processing/morphing.cpp:111–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111int main(int argc, char** argv) {
112 int device = argc > 1 ? atoi(argv[1]) : 0;
113
114 try {
115 af::info();
116 af::setDevice(device);
117 printf("** ArrayFire Image Morphing Demo **\n\n");
118 morphing_demo();
119
120 } catch (af::exception& e) {
121 fprintf(stderr, "%s\n", e.what());
122 throw;
123 }
124
125 return 0;
126}

Callers

nothing calls this directly

Calls 3

infoFunction · 0.85
morphing_demoFunction · 0.85
setDeviceFunction · 0.50

Tested by

no test coverage detected