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

Grcuda 132 refactor deviceselectionpolicy in grcudastreampolicy #50

Conversation

DavideMaffi
Copy link
Collaborator

@DavideMaffi DavideMaffi commented Oct 26, 2022

Classes that extend DeviceSelectionPolicy have been detached from GrCUDAStreamPolicy and now they are in standalone files. retrieve and retrieveImpl methods have been modified in order to call retrieve from other classes, then fallback to the parent class DeviceSelectionPolicy and finally call the right retrieveImpl on the child class. Now TransferTimeDeviceSelectionPolicy extends DeciceSelectionPolicy instead of MinimizeTransferSizeDeviceSelectionPolicy for better logical abstraction

Copy link
Member

@ian-ofgod ian-ofgod left a comment

Choose a reason for hiding this comment

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

Provide a detailed description of the contribution of this pull request

Copy link
Member

@ian-ofgod ian-ofgod left a comment

Choose a reason for hiding this comment

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

LGTM.
Overall refactor of the device selection policy structure.

Copy link
Member

@ian-ofgod ian-ofgod left a comment

Choose a reason for hiding this comment

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

Approving merge.

@ian-ofgod ian-ofgod merged commit 7208790 into master Mar 20, 2023
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