Host code
| 613 | |
| 614 | // Host code |
| 615 | int main(int argc, char **argv) |
| 616 | { |
| 617 | // Initialize |
| 618 | checkCudaErrors(cuInit(0)); |
| 619 | |
| 620 | if (argc == 1) { |
| 621 | parentProcess(argv[0]); |
| 622 | } |
| 623 | else { |
| 624 | childProcess(atoi(argv[1]), atoi(argv[2]), argv); |
| 625 | } |
| 626 | return EXIT_SUCCESS; |
| 627 | } |
| 628 | |
| 629 | bool inline findModulePath(const char *module_file, string &module_path, char **argv, string &ptx_source) |
| 630 | { |
nothing calls this directly
no test coverage detected