We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cfb1f9 + d1172f7 commit a8271faCopy full SHA for a8271fa
DataFormats/TrackingRecHitSoA/interface/alpaka/TrackingRecHitsSoACollection.h
@@ -41,6 +41,16 @@ namespace cms::alpakatools {
41
assert(deviceData.nHits() == hostData.nHits());
42
assert(deviceData.offsetBPIX2() == hostData.offsetBPIX2());
43
#endif
44
+ // Update the contents address of the phiBinner histo container after the copy from device happened
45
+ alpaka::wait(queue);
46
+ typename TrackingRecHitSoA<TrackerTraits>::PhiBinnerView pbv;
47
+ pbv.assoc = &(hostData.view().phiBinner());
48
+ pbv.offSize = -1;
49
+ pbv.offStorage = nullptr;
50
+ pbv.contentSize = hostData.nHits();
51
+ pbv.contentStorage = hostData.view().phiBinnerStorage();
52
+ hostData.view().phiBinner().initStorage(pbv);
53
+
54
return hostData;
55
}
56
};
0 commit comments