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] Support for Prefetch and memory advise #11474

Merged

Conversation

mfrancepillois
Copy link
Contributor

Adds support for prefetch and advise memory hints.
Adds e2e tests that verify that backend functions are called as they should be.

Adds support for `prefetch` and `advise` memory hints.
Adds e2e tests that verify that backend functions are called as they should be.
@mfrancepillois mfrancepillois temporarily deployed to WindowsCILock October 11, 2023 10:40 — with GitHub Actions Inactive
Copy link
Contributor

@ldrumm ldrumm left a comment

Choose a reason for hiding this comment

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

LGTM!

@EwanC
Copy link
Contributor

EwanC commented Jan 10, 2024

ping @intel/llvm-reviewers-runtime for a review

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

Runtime changes LGTM!

sycl/test-e2e/Graph/Inputs/memadvise.cpp Show resolved Hide resolved
Copy link
Contributor

@PietroGhg PietroGhg left a comment

Choose a reason for hiding this comment

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

Native CPU lgtm

@EwanC
Copy link
Contributor

EwanC commented Jan 17, 2024

tagging @intel/llvm-gatekeepers for merging

@aelovikov-intel aelovikov-intel merged commit c6fbac5 into intel:sycl Jan 17, 2024
11 checks passed
aelovikov-intel pushed a commit that referenced this pull request Jan 17, 2024
EwanC added a commit to reble/llvm that referenced this pull request Jan 18, 2024
In intel#11474 it was noted
in the documentation that the `prefetch` and `memadvise`
handler methods were not supported as graph nodes on the
OpenCL command-buffer backend.

However, we never disabled the E2E tests for this target,
which wasn't picked up by CI, as CI doesn't use the
command-buffer extension in its OpenCL config. Correct this
oversight.
ldrumm pushed a commit that referenced this pull request Jan 19, 2024
In #11474 it was noted in the
documentation that the `prefetch` and `memadvise` handler methods were
not supported as graph nodes on the OpenCL command-buffer backend.

However, we never disabled the E2E tests for this target, which wasn't
picked up by CI, as CI doesn't use the command-buffer extension in its
OpenCL config. This PR corrects this oversight by marking the tests as
unsupported for OpenCL.
EwanC added a commit to reble/llvm that referenced this pull request Feb 6, 2024
The merged PR intel#11472
added support for `handler::fill` and `handler::memset`
nodes in a graph, while merged PR
intel#11474 added support
for `handler::prefetch` and `handler::mem_advise`.
AlexeySachkov pushed a commit that referenced this pull request Feb 7, 2024
The merged PR #11472 added support for
`handler::fill` and `handler::memset` nodes in a graph, while merged PR
#11474 added support for
`handler::prefetch` and `handler::mem_advise`. Remove mentions of these
as limitations from the specification, as they are now supported.
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.

8 participants