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

[SYCLCompat][E2E] Add sycl::free for allocated memory #16584

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

zhiweij1
Copy link
Contributor

Signed-off-by: Jiang, Zhiwei [email protected]

@zhiweij1 zhiweij1 requested a review from a team as a code owner January 10, 2025 01:02
@zhiweij1
Copy link
Contributor Author

Failed test SYCL :: Adapters/level_zero_batch_event_status.cpp is not touched in this PR.

@zhiweij1
Copy link
Contributor Author

Hi @joeatodd , please help review this PR.

Copy link
Contributor

@ProGTX ProGTX left a comment

Choose a reason for hiding this comment

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

Note that there might be issues if any calls between the allocation and the free throw, then free wouldn't actually get called. I quick glance suggests that's unlikely to happen, but it might be worth reworking at a later point - this is definitely a step in the right direction.

Signed-off-by: Jiang, Zhiwei <[email protected]>
@zhiweij1
Copy link
Contributor Author

Hi @ProGTX , I have updated the PR according to your comment.

@zhiweij1 zhiweij1 requested a review from ProGTX January 13, 2025 02:04
@zhiweij1
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge

@bader bader merged commit 44c58bb into intel:sycl Jan 14, 2025
16 checks passed
@zhiweij1 zhiweij1 deleted the add_free branch January 14, 2025 01:36
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.

3 participants