Skip to content

[DeviceSanitizer] Remove device global "__AsanDeviceGlobalCount" #1584

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 11 commits into from
Nov 19, 2024

Conversation

zhaomaosu
Copy link
Contributor

@zhaomaosu zhaomaosu commented May 7, 2024

Now UR already implemented API "urProgramGetGlobalVariablePointer", so we can use it to query the size of device globals and remove "__AsanDeviceGlobalCount".

SYCLOS Part: intel/llvm#13678

Now UR already implemented API "urProgramGetGlobalVariablePointer", so
we can use it to query the size of device globals. After that, we can
remove "__AsanDeviceGlobalCount".
@zhaomaosu zhaomaosu requested a review from a team as a code owner May 7, 2024 06:44
@zhaomaosu zhaomaosu requested review from AllanZyne and removed request for a team May 7, 2024 06:44
@github-actions github-actions bot added loader Loader related feature/bug sanitizer Sanitizer layer issues/changes/specification labels May 7, 2024
@zhaomaosu zhaomaosu requested review from yingcong-wu and jinge90 May 7, 2024 06:44
Copy link
Contributor

@yingcong-wu yingcong-wu left a comment

Choose a reason for hiding this comment

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

lgtm.

@zhaomaosu zhaomaosu requested a review from AllanZyne May 7, 2024 09:08
@zhaomaosu zhaomaosu requested a review from a team June 5, 2024 09:38
@pbalcer pbalcer added ready to merge Added to PR's which are ready to merge and removed ready to merge Added to PR's which are ready to merge labels Jun 12, 2024
@pbalcer
Copy link
Contributor

pbalcer commented Oct 10, 2024

There's quite a lot of stale changes in intel/llvm part of this. If this still needs to be merged, please rebase and update the intel/llvm PR.

@pbalcer pbalcer added the ready to merge Added to PR's which are ready to merge label Nov 7, 2024
@callumfare callumfare merged commit 0ea47d7 into oneapi-src:main Nov 19, 2024
72 of 77 checks passed
sommerlukas pushed a commit to intel/llvm that referenced this pull request Nov 19, 2024
…pass (#13678)

Now UR already implemented API "urProgramGetGlobalVariablePointer", so
we can use it to query the size of device globals and remove
"__AsanDeviceGlobalCount".

UR Part: oneapi-src/unified-runtime#1584

---------

Co-authored-by: Callum Fare <callum@codeplay.com>
@zhaomaosu zhaomaosu deleted the simplify-device-global branch November 21, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loader Loader related feature/bug ready to merge Added to PR's which are ready to merge sanitizer Sanitizer layer issues/changes/specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants