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 device initialization from library (CMSSW side) #21

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

ariostas
Copy link
Member

This is the CMSSW side of SegmentLinking/TrackLooper#385.

@ariostas ariostas force-pushed the move_device_initialization branch from 354c6d3 to fe7725d Compare April 22, 2024 17:39
@@ -29,7 +29,7 @@ class LSTModulesDevESProducer : public ESProducer {

static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);

std::optional<SDL::modulesBuffer<alpaka_common::DevHost>> produce(const TrackerRecoGeometryRecord &iRecord);
std::optional<SDL::modulesBuffer<SDL::Dev>> produce(device::Record<TrackerRecoGeometryRecord> const& iRecord);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the CopyToDevice<SDL::modulesBuffer<alpaka_common::DevHost>> needed after this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. It should no longer be needed.

@slava77 slava77 merged commit 89311ec into CMSSW_14_1_0_pre0_LST_X Apr 23, 2024
@ariostas ariostas deleted the move_device_initialization branch May 28, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants