-
Notifications
You must be signed in to change notification settings - Fork 741
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] Add graph E2E tests which use free function extension #16159
base: sycl
Are you sure you want to change the base?
[SYCL][GRAPH] Add graph E2E tests which use free function extension #16159
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments:
-
Add an entry to this part of the spec https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc#712-interaction-with-other-extensions to say we support the free function extension (and add yourself to the contributors section)
-
These tests all rely on a device having update support, however even without update support a device should still be able to use the free function extension in a static graph. Could we have a test for that? Probably only need 1 under
Inputs
which is then used inExplicit
andRecordReplay
variants.
sycl/test-e2e/Graph/Update/FreeFunctionKernels/update_before_finalize.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/Update/FreeFunctionKernels/update_before_finalize.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/Update/FreeFunctionKernels/update_before_finalize.cpp
Show resolved
Hide resolved
sycl/test-e2e/Graph/Update/FreeFunctionKernels/update_before_finalize.cpp
Outdated
Show resolved
Hide resolved
0cad22a
to
693fd38
Compare
693fd38
to
c852adf
Compare
Dynamic parameters in SYCL Graphs should be used for now with free_function_kernels extension since then the order of kernel arguments is well defined.
The tests are a copy of few selected ones from
Graph/Update
and modified such that they use the extension. They live inGraph/Update/FreeFunctionKernels
.Since the free function kernels are not yet implemented on CUDA, we should keep for now both copies of the tests (with and without free functions).