Skip to content
Snippets Groups Projects
Commit 67553243 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Stop profiler before exit

parent b4770451
No related branches found
No related tags found
2 merge requests!116Implements #133 point alignment,!114Ongoing #133 improvements
This commit is part of merge request !114. Comments created here will be created in the context of that merge request.
......@@ -29,6 +29,8 @@
#include <ftl/registration.hpp>
#include <cuda_profiler_api.h>
#ifdef WIN32
#pragma comment(lib, "Rpcrt4.lib")
#endif
......@@ -157,13 +159,21 @@ static void run(ftl::Configurable *root) {
return true;
});
LOG(INFO) << "Shutting down...";
ftl::timer::stop();
net->shutdown();
ftl::pool.stop();
cudaProfilerStop();
LOG(INFO) << "Deleting...";
delete align;
delete splat;
delete virt;
delete stream;
delete net;
LOG(INFO) << "Done.";
}
int main(int argc, char **argv) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment