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

Remove unwanted sync

parent 2dbf7045
No related branches found
No related tags found
1 merge request!338Resolves #375 full colour resolution
Pipeline #29317 failed
......@@ -245,6 +245,8 @@ static void run(ftl::Configurable *root) {
cudaSafeCall(cudaEventSynchronize(fs->frames[0].uploadEvent()));
fs->flush(ftl::codecs::Channel::Colour);
const_cast<ftl::data::FrameSetPtr&>(fs).reset();
if (!quiet && --stats_count <= 0) {
latency /= float(frames);
int64_t nowtime = ftl::timer::get_time();
......@@ -258,6 +260,8 @@ static void run(ftl::Configurable *root) {
}
});
const_cast<ftl::data::FrameSetPtr&>(fs).reset();
return true;
});
......
......@@ -219,7 +219,7 @@ bool Graph::apply(Frame &in, Frame &out, const std::function<void()> &cb) {
ftl::pool.push([cb](int id) { cb(); });
});
} else {
cudaSafeCall(cudaStreamSynchronize(stream_actual));
//cudaSafeCall(cudaStreamSynchronize(stream_actual));
busy_.clear();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment