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

Function Cleanup

cpp/0_Introduction/simpleCUDA2GL/main.cpp:531–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void Cleanup(int iExitCode)
532{
533 FreeResource();
534 printf("PPM Images are %s\n", (iExitCode == EXIT_SUCCESS) ? "Matching" : "Not Matching");
535 exit(iExitCode);
536}
537
538////////////////////////////////////////////////////////////////////////////////
539//!

Callers 3

displayFunction · 0.70
keyboardFunction · 0.70
runStdProgramFunction · 0.70

Calls 1

FreeResourceFunction · 0.70

Tested by

no test coverage detected