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][OpenCL] Enable graph extension on OpenCL backend #11718

Merged
merged 6 commits into from
Nov 28, 2023

Conversation

martygrant
Copy link
Contributor

@martygrant martygrant commented Oct 31, 2023

intel-llvm CI run for adding Command Buffers to the OpenCL Adapter in Unified Runtime - oneapi-src/unified-runtime#966

Also completes follow-on work identified in #11599 to add an OpenCL section to the SYCL-Graphs docs and update the e2e Graph tests. Updating the tests has since been completed in a separate PR - #11877

Depends on #11820 merging first.

@martygrant martygrant requested a review from a team as a code owner October 31, 2023 10:00
sycl/doc/design/CommandGraph.md Outdated Show resolved Hide resolved
sycl/doc/design/CommandGraph.md Outdated Show resolved Hide resolved
sycl/doc/design/CommandGraph.md Outdated Show resolved Hide resolved
sycl/doc/design/CommandGraph.md Outdated Show resolved Hide resolved
sycl/doc/design/CommandGraph.md Show resolved Hide resolved
sycl/doc/design/CommandGraph.md Show resolved Hide resolved
sycl/test-e2e/Graph/Explicit/usm_fill.cpp Outdated Show resolved Hide resolved
@martygrant
Copy link
Contributor Author

In a rebased force-push I have corrected the int Pattern = 3.14f lines in the usm_fill tests, as well as enabling a few more tests for OpenCL as a bug in the urCommandBufferAppendKernelLaunchExp was corrected and will be updated in the PR for it in the UR repo.

@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch 2 times, most recently from f3f47a1 to 7cd2323 Compare November 3, 2023 14:04
@martygrant martygrant requested a review from a team as a code owner November 3, 2023 14:04
@martygrant
Copy link
Contributor Author

Using this PR as the companion to the UR PR oneapi-src/unified-runtime#966 instead of the separate #11719 which I will now close.

@EwanC
Copy link
Contributor

EwanC commented Nov 10, 2023

The Graph E2E tests added by this PR will also need updated as the other tests in this PR have been #11556

aelovikov-intel pushed a commit that referenced this pull request Nov 17, 2023
Add new 'are_graphs_supported' helper function to determine platform
support for Graphs
at runtime rather than the lit '// REQUIRES: <platform>' check at
compile time.

Fixed a bug in the usm_variant tests of trying to instantiate an int
with a float value.

This PR has been create in order to simplify the PR for adding OpenCL
support to the SYCL Graph tests
#11718.

---------

Co-authored-by: Ewan Crawford <ewan@codeplay.com>
martygrant and others added 6 commits November 28, 2023 10:41
…lper function to return early if Graphs are not supported by the device. Added OpenCL section to CommandGraph docs.

Co-authored-by: Pablo Reble <pablo@reble.org>
Describe user facing limitations of OpenCL graphs
backend and document failing tests this directly affects.
Describe in exception message the name of the
unsupported entry-point.
@kbenzie
Copy link
Contributor

kbenzie commented Nov 28, 2023

@intel/llvm-gatekeepers please merge.

@sergey-semenov
Copy link
Contributor

@kbenzie This still needs approval from @intel/unified-runtime-reviewers

@kbenzie
Copy link
Contributor

kbenzie commented Nov 28, 2023

@kbenzie This still needs approval from @intel/unified-runtime-reviewers

how foolish of me! approved now.

@sergey-semenov sergey-semenov merged commit 5d75245 into intel:sycl Nov 28, 2023
12 checks passed
steffenlarsen pushed a commit that referenced this pull request Nov 28, 2023
Run CI for oneapi-src/unified-runtime#936

Depends on #11718 merging first.

---------

Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
callumfare pushed a commit to kbenzie/llvm that referenced this pull request Dec 18, 2023
intel-llvm CI run for adding Command Buffers to the OpenCL Adapter in
Unified Runtime - oneapi-src/unified-runtime#966

Also completes follow-on work identified in intel#11599 to add an OpenCL
section to the SYCL-Graphs docs and update the e2e Graph tests. Updating
the tests has since been completed in a separate PR -
intel#11877

Depends on intel#11820 merging first.

---------

Co-authored-by: Pablo Reble <pablo@reble.org>
Co-authored-by: Ewan Crawford <ewan@codeplay.com>
Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
callumfare pushed a commit to kbenzie/llvm that referenced this pull request Dec 18, 2023
Run CI for oneapi-src/unified-runtime#936

Depends on intel#11718 merging first.

---------

Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
kbenzie pushed a commit that referenced this pull request Jan 8, 2024
Add new 'are_graphs_supported' helper function to determine platform
support for Graphs
at runtime rather than the lit '// REQUIRES: <platform>' check at
compile time.

Fixed a bug in the usm_variant tests of trying to instantiate an int
with a float value.

This PR has been create in order to simplify the PR for adding OpenCL
support to the SYCL Graph tests
#11718.

---------

Co-authored-by: Ewan Crawford <ewan@codeplay.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants