Skip to content

[SYCL][OpenCL] Enable graph extension on OpenCL backend #11718

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 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
@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch from d6a4402 to c6709f7 Compare November 2, 2023 14:18
@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.

@martygrant martygrant marked this pull request as draft November 3, 2023 14:07
@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch 2 times, most recently from b320377 to 5345bbe Compare November 3, 2023 14:25
@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch from 5345bbe to 46c5e19 Compare November 3, 2023 15:58
@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

@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch from 46c5e19 to 14d5934 Compare November 13, 2023 11:59
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 <[email protected]>
@martygrant martygrant force-pushed the martin/updateGraphE2ETests branch from 4ff6e64 to 8591790 Compare November 20, 2023 11:21
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 <[email protected]>
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
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) <[email protected]>
callumfare pushed a commit to kbenzie/intel-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 <[email protected]>
Co-authored-by: Ewan Crawford <[email protected]>
Co-authored-by: Kenneth Benzie (Benie) <[email protected]>
callumfare pushed a commit to kbenzie/intel-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) <[email protected]>
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 <[email protected]>
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