Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant CUDA event occurred checks #328

Conversation

makortel
Copy link

PR description:

This PR removes redundant calls to cuda::event_t::has_occurred() when it is called in conjunction with CUDAProduct::isAvailable(). The former are redundant because isAvailable() already calls has_occurred().

Also fix (interim part in) SiPixelRecHitHeterogeneous to use the CUDA event of the correct product when calling cudaStreamWaitEvent().

Thanks to @VinInn for noticing.

PR validation:

Profiling workflow runs, unit tests run.

@fwyzard fwyzard changed the base branch from CMSSW_10_6_X_Patatrack to refresh April 23, 2019 13:31
@fwyzard fwyzard changed the base branch from refresh to CMSSW_10_6_X_Patatrack April 23, 2019 13:31
@fwyzard fwyzard changed the base branch from CMSSW_10_6_X_Patatrack to refresh April 23, 2019 13:35
@fwyzard fwyzard changed the base branch from refresh to CMSSW_10_6_X_Patatrack April 23, 2019 13:35
@fwyzard
Copy link

fwyzard commented Apr 23, 2019

... and forcing to check again by changing the target branch does not seem to help here.

@fwyzard fwyzard merged commit b81c3f5 into cms-patatrack:CMSSW_10_6_X_Patatrack Apr 23, 2019
@fwyzard fwyzard added bug-fix fixed Pixels Pixels-related developments and removed bug-fix labels Apr 23, 2019
fwyzard pushed a commit that referenced this pull request May 15, 2019
L1 unprefireable bit + MET covariance/significance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix fixed Pixels Pixels-related developments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants