Skip to content

[SYCL] Fix unreleased kernels obtained with program::get_kernel() #1804

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

Merged
merged 4 commits into from
Jun 4, 2020

Conversation

sergey-semenov
Copy link
Contributor

Avoid unconditional retaining of internally created native kernels in
kernel_impl constructors, retain them in the caller when needed
instead.

Signed-off-by: Sergey Semenov [email protected]

Avoid unconditional retaining of internally created native kernels in
kernel_impl constructors, retain them in the caller when needed
instead.

Signed-off-by: Sergey Semenov <[email protected]>
@sergey-semenov sergey-semenov requested a review from a team as a code owner June 2, 2020 14:34
@sergey-semenov sergey-semenov requested a review from rbegam June 2, 2020 14:34
@sergey-semenov
Copy link
Contributor Author

TBD: add a test

Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM. Please add a test.

Signed-off-by: Sergey Semenov <[email protected]>
Signed-off-by: Sergey Semenov <[email protected]>
Signed-off-by: Sergey Semenov <[email protected]>
Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM

@bader bader merged commit ccefc93 into intel:sycl Jun 4, 2020
@sergey-semenov sergey-semenov deleted the unreleasedkernelfix branch June 4, 2020 12:11
bb-sycl pushed a commit that referenced this pull request Feb 1, 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.

3 participants