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

[SYCL][Graph] Fix CUDA/HIP local mem argument update bug #16025

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Nov 8, 2024

Tests UR PR oneapi-src/unified-runtime#2298 with additional SYCL-Graph local memory argument E2E tests.

PR also sets the pnext and snext members of ur_exp_command_buffer_update_kernel_launch_desc_t which were missing when calling into UR.

@EwanC EwanC changed the title [SYCL][Graph] Fix CUDA local mem argument update bug [SYCL][Graph] Fix CUDA/HIP local mem argument update bug Nov 11, 2024
Tests UR PR oneapi-src/unified-runtime#2298
with additional SYCL-Graph local memory argument E2E tests.

PR also sets the `pnext` and `snext` members of
`ur_exp_command_buffer_update_kernel_launch_desc_t ` which were missing when
calling into UR.
@EwanC EwanC marked this pull request as ready for review November 21, 2024 09:17
@EwanC EwanC requested review from a team as code owners November 21, 2024 09:17
@EwanC EwanC requested a review from a team as a code owner November 21, 2024 09:17
Copy link
Contributor

@konradkusiak97 konradkusiak97 Nov 25, 2024

Choose a reason for hiding this comment

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

Not related to the changes but why does this test have

using T = int

on line 9?

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, I can see the other tests also use that. I guess it's convenient

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question, it's in a lot of our tests. The idea we that it makes it easier to test with different input/output types if we want. However, I don't think that hypothetical advantage has ever been taken advantage of.

Thinking about it, it might make more sense to put this in the graph_common.hpp header and let individual tests use it if they want.

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.

4 participants