Skip to content

[DevTSAN] Support device thread sanitizer for device globals #17548

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

Merged
merged 3 commits into from
Mar 26, 2025

Conversation

zhaomaosu
Copy link
Contributor

@zhaomaosu zhaomaosu commented Mar 20, 2025

1.Add a global '__TsanDeviceGlobalMetadata' to record device global's information
2.Read global meta data when build/link program done, and then poison related
shadow memory

@zhaomaosu zhaomaosu marked this pull request as ready for review March 20, 2025 07:08
@zhaomaosu zhaomaosu requested review from a team as code owners March 20, 2025 07:08
@yingcong-wu yingcong-wu requested a review from AllanZyne March 20, 2025 07:51
@zhaomaosu
Copy link
Contributor Author

Kindly ping @intel/unified-runtime-reviewers

@zhaomaosu
Copy link
Contributor Author

@intel/llvm-gatekeepers, this PR is ready to be merged. Thanks.

@zhaomaosu zhaomaosu requested a review from a team March 26, 2025 11:45
@martygrant martygrant merged commit 358d73f into intel:sycl Mar 26, 2025
53 of 60 checks passed
@zhaomaosu zhaomaosu deleted the support-dev-tsan-device-global branch March 26, 2025 13:27
KornevNikita pushed a commit that referenced this pull request May 27, 2025
1.Add a global '__TsanDeviceGlobalMetadata' to record device global's
information
2.Read global meta data when build/link program done, and then poison
related
shadow memory
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