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

[DevTSAN] Support thread sanitizer for device offloading in TSAN pass #17181

Open
wants to merge 4 commits into
base: sycl
Choose a base branch
from

Conversation

zhaomaosu
Copy link
Contributor

This PR is going to support thread sanitizer for device offloading (IR part)
1.defined a new class 'ThreadSanitizerOnSpirv' to do SPIR-V specific
instrumentation.
2.added an extra argument '__tsan_launch' to each spir kernels.
3.disable inserting module ctor for kernel code.
4.created a new global '__TsanKernelMetadata' to record spir kernels'
information.

This PR is going to support thread sanitizer for device offloading (IR part)
  1.defined a new class 'ThreadSanitizerOnSpirv' to do SPIR-V specific
    instrumentation.
  2.added an extra argument '__tsan_launch' to each spir kernels.
  3.disable inserting module ctor for kernel code.
  4.created a new global '__TsanKernelMetadata' to record spir kernels'
    information.
@zhaomaosu zhaomaosu marked this pull request as ready for review February 26, 2025 08:43
@zhaomaosu zhaomaosu requested review from a team as code owners February 26, 2025 08:43
@zhaomaosu zhaomaosu requested a review from a team February 26, 2025 08:43
Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to CODEOWNERS LGTM.

@zhaomaosu
Copy link
Contributor Author

Kindly ping @intel/dpcpp-tools-reviewers, could you please help review this PR? Thanks.

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.

3 participants