Skip to content

Conversation

@lplewa
Copy link
Contributor

@lplewa lplewa commented Dec 9, 2024

On Windows static builds, destructors are invoked after the UMF destructor, causing parameter structures to be unable to be destroyed. By switching to std::unique_ptr, we ensure that parameters are properly cleaned up and the destruction order issue is resolved.

@lplewa lplewa requested a review from a team as a code owner December 9, 2024 17:20
@ldorau
Copy link
Contributor

ldorau commented Dec 10, 2024

@lplewa Does it fix #987 ?

@lplewa
Copy link
Contributor Author

lplewa commented Dec 10, 2024

@lplewa Does it fix #987 ?

it should fix it

@lplewa lplewa force-pushed the uniqe branch 3 times, most recently from 43dffc7 to 062a362 Compare December 10, 2024 12:26
On Windows static builds, destructors are invoked after the UMF destructor,
causing parameter structures to be unable to be destroyed. By switching to
std::unique_ptr, we ensure that parameters are properly cleaned up and
the destruction order issue is resolved.
@ldorau ldorau requested a review from igchor December 11, 2024 07:29
@ldorau
Copy link
Contributor

ldorau commented Dec 11, 2024

@igchor please re-review

@ldorau
Copy link
Contributor

ldorau commented Dec 11, 2024

@bratpiorka bratpiorka merged commit aef7ae7 into oneapi-src:main Dec 11, 2024
77 checks passed
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