Skip to content

Avoid copy#1555

Merged
knopers8 merged 2 commits into
AliceO2Group:masterfrom
ktf:avoid-copy
Nov 3, 2022
Merged

Avoid copy#1555
knopers8 merged 2 commits into
AliceO2Group:masterfrom
ktf:avoid-copy

Conversation

@ktf
Copy link
Copy Markdown
Member

@ktf ktf commented Nov 3, 2022

This triggers some of the copies / deletions which you see.

This triggers some of the copies / deletions which you see.
@ktf
Copy link
Copy Markdown
Member Author

ktf commented Nov 3, 2022

Proper fix to avoid the copy completely coming up in the Framework.

Copy link
Copy Markdown
Collaborator

@knopers8 knopers8 left a comment

Choose a reason for hiding this comment

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

I don't understand, but I trust you.

As far as I can tell, DeviceSpec does not contain any framework::Task, how does it help?

@knopers8 knopers8 enabled auto-merge (squash) November 3, 2022 12:52
@ktf
Copy link
Copy Markdown
Member Author

ktf commented Nov 3, 2022

It contains the AlgorithmSpec, which contains the captured task. I am changing a few things in DPL to prevent any copy of those.

@knopers8
Copy link
Copy Markdown
Collaborator

knopers8 commented Nov 3, 2022

OK, indeed, thanks

@knopers8 knopers8 merged commit 09953bd into AliceO2Group:master Nov 3, 2022
@ktf
Copy link
Copy Markdown
Member Author

ktf commented Nov 5, 2022

Sorry guys, I need a patch also with this...

Barthelemy pushed a commit that referenced this pull request Nov 7, 2022
* Avoid copy

This triggers some of the copies / deletions which you see.

* Update RootFileSource.cxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants