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

allow cliloader to proceed in more cases #383

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

bashbaug
Copy link
Contributor

Description of Changes

On Windows, if the child thread to replace functions cannot be created, we should still continue, since loading the intercept layer OpenCL.dll in the child process is usually enough to successfully intercept OpenCL calls.

Testing Done

Forced the child thread to fail creation. Observed that cliloader could proceed, and that interception was successful.

If the child thread to replace functions cannot be created,
we should still continue, since loading the right OpenCL.dll
in the child process is usually enough to perform interception.
@bashbaug
Copy link
Contributor Author

Marking as draft for a bit more review and testing.

@bashbaug bashbaug marked this pull request as draft October 23, 2024 03:48
@bashbaug bashbaug marked this pull request as ready for review October 26, 2024 22:55
@bashbaug
Copy link
Contributor Author

This was not as helpful as I was initially hoping it would be, but it doesn't seem to be hurting anything either.

@bashbaug bashbaug merged commit 51bc1ed into intel:main Oct 26, 2024
7 checks passed
@bashbaug bashbaug deleted the cliloader-fallback branch October 26, 2024 22:56
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.

1 participant