Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions dd4hepplugins/OpticsEvent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <G4Event.hh>

#include <chrono>
#include <cuda_runtime.h>

#include <G4CXOpticks.hh>
#include <NP.hh>
Expand Down Expand Up @@ -94,7 +93,6 @@ void OpticsEvent::end(G4Event const *event)
{
auto sim_t0 = std::chrono::high_resolution_clock::now();
gx->simulate(eventID, /*reset=*/false);
cudaDeviceSynchronize();
auto sim_t1 = std::chrono::high_resolution_clock::now();
double simulate_ms = std::chrono::duration<double, std::milli>(sim_t1 - sim_t0).count();

Expand Down
Loading