-
Notifications
You must be signed in to change notification settings - Fork 5
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
Various fixes and cleanup #87
Various fixes and cleanup #87
Conversation
A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_10_2_X_Patatrack. It involves the following packages: RecoLocalTracker/SiPixelClusterizer @cmsbot, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Validation summaryReference release CMSSW_10_2_0_pre5 at 30c7b03
|
Rebased to fix conflicts with the recently-merged #81. |
Thanks Matti. |
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
- replace `exclusive_scan` with `memset` + `inclusive_scan` to avoid an invalid read - fix memory sizes in allocations and copies - add a missing stream synchronize - set `recordWatcherUpdatedSinceLastTransfer_` to avoid spurious copies
This PR contains various stuff I encountered while trying to debug #84.
cudaStreamSynchronize()
to raw2clustercuda-memcheck
showed an invalid read from theexclusive_scan
in rechits. The read was introduced in Work to support GCC 7 with CUDA #41 withThe use of
gpuClustering::MaxNumModules + 1
makes the algorithm to read one element beyondc.clusInModule
. I fixed it here with going to similar pattern as was before #41 in CPU withinclusive_scan
.Optimizations
recordWatcherUpdatedsSinceLastTransfer_ = false
, so the "modules to unpack" was transferred on each eventsizeof(unsigned int)
in the size expressionCleanup
@fwyzard @felicepantaleo @VinInn @rovere