Skip to content

Commit

Permalink
Got rid of some more cudaStreamSynchronize.
Browse files Browse the repository at this point in the history
  • Loading branch information
hatakeyamak committed Oct 11, 2022
1 parent d90e911 commit 63e0efb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ void PFClusterProducerCudaHCAL::acquire(edm::Event const& event,

float kernelTimers[8] = {0.0};

if (cudaStreamQuery(cudaStream) != cudaSuccess)
cudaCheck(cudaStreamSynchronize(cudaStream));
// if (cudaStreamQuery(cudaStream) != cudaSuccess)
// cudaCheck(cudaStreamSynchronize(cudaStream));

// Calling cuda kernels
PFClusterCudaHCAL::PFRechitToPFCluster_HCAL_entryPoint(cudaStream, totalNeighbours, PFRecHits, outputGPU, scratchGPU, kernelTimers);
Expand Down

0 comments on commit 63e0efb

Please sign in to comment.