| 552 | } |
| 553 | |
| 554 | int main(int argc, char** argv) { |
| 555 | int device = argc > 1 ? std::atoi(argv[1]) : 0; |
| 556 | |
| 557 | try { |
| 558 | af::setDevice(device); |
| 559 | af::info(); |
| 560 | |
| 561 | std::cout << "** ArrayFire CFD Simulation Demo\n\n"; |
| 562 | |
| 563 | lattice_boltzmann_cfd_demo(); |
| 564 | } catch (const af::exception& e) { |
| 565 | std::cerr << e.what() << std::endl; |
| 566 | return -1; |
| 567 | } |
| 568 | |
| 569 | return 0; |
| 570 | } |
nothing calls this directly
no test coverage detected