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

Improve logging of loading adapters on Windows #2363

Merged

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Nov 21, 2024

This primarily improves the logging when loading an adapter fails on Windows by printing out the result of GetLastError() when LoadLibrarExA() returns null for cross-reference with https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes.

@github-actions github-actions bot added the common Changes or additions to common utilities label Nov 21, 2024
This primarily improves the logging when loading an adapter fails on
Windows by printing out the result of `GetLastError()` when
`LoadLibrarExA()` returns null for cross-reference with
https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes.
@kbenzie kbenzie force-pushed the benie/windows-improve-adapter-load-logging branch from bf8d48b to da5befe Compare November 22, 2024 10:40
@kbenzie kbenzie marked this pull request as ready for review November 22, 2024 15:42
@kbenzie kbenzie requested a review from a team as a code owner November 22, 2024 15:42
@kbenzie kbenzie added the ready to merge Added to PR's which are ready to merge label Nov 22, 2024
@kbenzie kbenzie merged commit e9d94b1 into oneapi-src:main Nov 22, 2024
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Changes or additions to common utilities ready to merge Added to PR's which are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants