Skip to content

Check if tracker is empty instead of clearing it #1104

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

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Feb 18, 2025

Description

Clearing the tracker was a temporary solution and should be removed.
The tracker should be cleared using the provider's free() operation.

Replace clear_tracker_for_the_pool() with check_if_tracker_is_empty().

This patch reverts commit 2766a21

Ref: #759

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@ldorau ldorau requested a review from a team as a code owner February 18, 2025 08:28
@ldorau ldorau requested a review from vinser52 February 18, 2025 08:28
@ldorau
Copy link
Contributor Author

ldorau commented Feb 18, 2025

@bratpiorka @vinser52 please review

@ldorau ldorau requested a review from bratpiorka February 18, 2025 08:29
@ldorau ldorau force-pushed the Check_if_tracker_is_empty_instead_of_clearing_it branch from 53fb9e7 to 791d018 Compare February 18, 2025 08:32
@ldorau ldorau force-pushed the Check_if_tracker_is_empty_instead_of_clearing_it branch from dd363ed to 30d135c Compare February 18, 2025 10:16
Clearing the tracker was a temporary solution and should be removed.
The tracker should be cleared using the provider's free() operation.

Replace clear_tracker_for_the_pool() with check_if_tracker_is_empty().

This patch reverts commit 2766a21

Ref: oneapi-src#759

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Check_if_tracker_is_empty_instead_of_clearing_it branch from 30d135c to 997c917 Compare February 18, 2025 10:22
@ldorau
Copy link
Contributor Author

ldorau commented Feb 18, 2025

Hanging on the Windows CUDA build :-) ...

@lukaszstolarczuk lukaszstolarczuk merged commit 7b8c459 into oneapi-src:main Feb 18, 2025
78 checks passed
@ldorau ldorau deleted the Check_if_tracker_is_empty_instead_of_clearing_it branch February 19, 2025 08: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.

5 participants