Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Fix memory leak in slm_alloc.cpp #1565

Merged
merged 2 commits into from
Feb 2, 2023
Merged

Conversation

bso-intel
Copy link

It missed free() call.

@bso-intel bso-intel requested a review from a team as a code owner February 2, 2023 00:07
@@ -1,7 +1,6 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip || esimd_emulator
//
// RUN: %clangxx -fsycl %s -o %t.1.out
Copy link

Choose a reason for hiding this comment

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

What is the reason for removal of this line ?

Copy link
Author

@bso-intel bso-intel Feb 2, 2023

Choose a reason for hiding this comment

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

That's a mistake. I recovered that line.
Thanks.

@v-klochkov v-klochkov merged commit f498cc5 into intel:intel Feb 2, 2023
@bso-intel bso-intel deleted the slm-alloc branch February 2, 2023 17:45
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
* [SYCL] Fix memory leak in slm_alloc.cpp

Signed-off-by: Byoungro So <[email protected]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
* [SYCL] Fix memory leak in slm_alloc.cpp

Signed-off-by: Byoungro So <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants