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

insert gpu2host copies when returning views of gpuAlloced memrefs #666

Closed
wants to merge 1 commit into from

Conversation

fschlimb
Copy link
Contributor

@fschlimb fschlimb commented Oct 20, 2023

No copy was made before gpudeallocation if a view of a memref was returned (and not the memref itself).

This is handling the opencl case only.

It also does not correctly support cases when the termOp has multiple operands which are a view of the same gpu-allocated memref.

(partial) fix for #664

@fschlimb fschlimb requested a review from silee2 October 20, 2023 10:04
Copy link
Contributor

@silee2 silee2 left a comment

Choose a reason for hiding this comment

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

LGTM

@silee2
Copy link
Contributor

silee2 commented Dec 15, 2023

Manually merged.

@silee2 silee2 closed this Dec 15, 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