Skip to content

[SYCL][Graph] Fix memset queue shortcut when queue is recorded #12508

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 9 commits into from
Feb 13, 2024

Conversation

mfrancepillois
Copy link
Contributor

Memset queue shortcut queue::memset() manages the memset direclty from the host (without going through the normal path, i.e. the handler).
We added a specific case when the queue is recorded to use the normal path instead of the optimized path.

Memset queue shortcut `queue::memset()` manages the memset direclty from the host (without going through the normal path, i.e. the handler).
We added a specific case when the queue is recorded to use the normal path instead of the optimized path.
@aelovikov-intel
Copy link
Contributor

#11758 is going in in a moment. I think we can benefit by waiting and rebasing once that happens. Also, + @sergey-semenov who's the expert in the area.

// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
// Extra run to check for leaks in Level Zero using ZE_DEBUG
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
Copy link
Contributor

@aelovikov-intel aelovikov-intel Jan 26, 2024

Choose a reason for hiding this comment

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

Hasn't that been changed to UR_L0_LEAKS_DEBUG?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. This test has been updated.

"The memset feature is not yet available "
"for use with the SYCL Graph extension.");
return submit(
[&](handler &CGH) {
Copy link
Contributor

@reble reble Jan 26, 2024

Choose a reason for hiding this comment

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

Not sure if it really makes a difference: but shouldn't we capture (parameters other than DepEvents) by value here instead?

@mfrancepillois
Copy link
Contributor Author

@intel/llvm-gatekeepers could you please merge this PR? Thanks.

@martygrant martygrant merged commit 91087b9 into intel:sycl Feb 13, 2024
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.

6 participants