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

Sycl queue created instead of copy #4384

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

ye-luo
Copy link
Contributor

@ye-luo ye-luo commented Jan 5, 2023

Proposed changes

SYCL queue copy constructor only does shallow copy. Underlying level 0 objects are shared and caused performance penalty due to undesired entanglement.
Make actual queue creation from device and context instead of copying.

What type(s) of changes does this code introduce?

  • Bugfix

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

sunspot

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'

@ye-luo
Copy link
Contributor Author

ye-luo commented Jan 5, 2023

Test this please

Copy link
Contributor

@prckent prckent left a comment

Choose a reason for hiding this comment

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

LGTM

@prckent prckent merged commit c63e89e into QMCPACK:develop Jan 6, 2023
@ye-luo ye-luo deleted the sycl-queue-no-copy branch January 6, 2023 16:08
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