MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / main

Function main

cpp/3_CUDA_Features/memMapIPCDrv/memMapIpc.cpp:615–627  ·  view source on GitHub ↗

Host code

Source from the content-addressed store, hash-verified

613
614// Host code
615int 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
629bool inline findModulePath(const char *module_file, string &module_path, char **argv, string &ptx_source)
630{

Callers

nothing calls this directly

Calls 3

cuInitFunction · 0.85
parentProcessFunction · 0.85
childProcessFunction · 0.85

Tested by

no test coverage detected