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

revert db7696e and 4a88836 (#427) #449

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Jun 1, 2023

llvm-related variable initialization, clang::ExecuteCompilerInvocation and llvm-spirv aren't thread safe, at least for 90 branch.

(cherry picked from commit 76bc7f9)

llvm-related variable initialization, clang::ExecuteCompilerInvocation
and llvm-spirv aren't thread safe, at least for 90 branch.

(cherry picked from commit 76bc7f9)
@wenju-he wenju-he requested review from cdai2, fzou1 and haonanya June 1, 2023 02:58
@wenju-he
Copy link
Contributor Author

wenju-he commented Jun 1, 2023

tag @aratajew

@wenju-he
Copy link
Contributor Author

wenju-he commented Jun 1, 2023

Similar to 9/15/16/main branches, I reproduced crash caused by thread safety issue on 14 branch. This PR can fix the issue.
I'll check if this PR could be refined later, e.g. maybe guarding EmitSPIRV part is enough.

@wenju-he wenju-he merged commit 53b8f12 into intel:ocl-open-140 Jun 1, 2023
@wenju-he
Copy link
Contributor Author

wenju-he commented Jun 1, 2023

e.g. maybe guarding EmitSPIRV part is enough.

This (guarding EmitSPIRV part) still has crash caused by thread safety. So I'm not going to refine this PR at the moment.

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.

2 participants