Skip to content

Conversation

@wenju-he
Copy link
Contributor

When we create SLM __AsanLaunchInfo and store newly added kernel arg __asan_launch into the SLM, the SLM is loaded in asan report function. If instructions in referenced-indirectly function are instrumented, the report function is called. However, access to SLM in referenced- indirectly function isn't supported in intel-graphics-compiler yet.

When we create SLM __AsanLaunchInfo and store newly added kernel arg
__asan_launch into the SLM, the SLM is loaded in asan report function.
If instructions in referenced-indirectly function are instrumented,
the report function is called. However, access to SLM in referenced-
indirectly function isn't supported in intel-graphics-compiler yet.
@wenju-he wenju-he requested a review from a team as a code owner June 26, 2024 08:58
@wenju-he wenju-he requested a review from AllanZyne June 28, 2024 02:57
return false;

if (TargetTriple.isSPIR()) {
if (F.getName().contains("__sycl_service_kernel__"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@AllanZyne the name check might not be accurate, what if there is a user function that is xx__sycl_service_kernel__xx?

Copy link
Contributor

@AllanZyne AllanZyne Jun 28, 2024

Choose a reason for hiding this comment

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

I think either way is okay.
As far as I know, currently this kernel naming style is only used for assert.
llvm/sycl/include/sycl/queue.hpp:2908

@wenju-he
Copy link
Contributor Author

wenju-he commented Jul 1, 2024

@intel/llvm-gatekeepers please merge, thank you.

@martygrant martygrant merged commit 1f3f02b into intel:sycl Jul 1, 2024
@wenju-he wenju-he deleted the device-sanitizer-skip-referenced-indirectly branch July 2, 2024 09:32
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