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

Use AccessOrder in TypeInfo::Copy. Add synchronization when specifying host order for x2D and D2x copy. #5557

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mzient
Copy link
Contributor

@mzient mzient commented Jul 10, 2024

Category:

Bug fix (non-breaking change which fixes an issue)
Refactoring (Redesign of existing code that doesn't affect functionality)

Description:

Additional information:

Before this change specifying AccessOrder::host in x2D pr D2x copy resulted in missing synchronization. It should be either forbidden or properly synchronized.

Affected modules and functionalities:

Tensor & TensorList copying.

Key points relevant for the review:

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

Add synchronization when specifying host order for x2D and D2x copy.

Signed-off-by: Michal Zientkiewicz <[email protected]>
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [16474477]: BUILD STARTED

Signed-off-by: Michal Zientkiewicz <[email protected]>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [16474871]: BUILD STARTED

@mzient mzient marked this pull request as draft July 10, 2024 17:09
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