Skip to content

[UR] CTS tests for command-buffer native append#17494

Merged
sommerlukas merged 1 commit intointel:syclfrom
reble:ur_cmd-buf_native-command_cts
Mar 21, 2025
Merged

[UR] CTS tests for command-buffer native append#17494
sommerlukas merged 1 commit intointel:syclfrom
reble:ur_cmd-buf_native-command_cts

Conversation

@EwanC
Copy link
Copy Markdown
Contributor

@EwanC EwanC commented Mar 17, 2025

The merged PR #16871 introduced new UR entry-points urCommandBufferAppendNativeCommandExp and urCommandBufferGetNativeHandleExp, however there was no UR CTS coverage for urCommandBufferAppendNativeCommandExp included, as verification was done via SYCL E2E testing.

This PR adds UR CTS testing for urCommandBufferAppendNativeCommandExp for all of the L0, CUDA, HIP, and OpenCL adapters.

Resolves #17448

@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 18:11 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 19:15 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 19:15 — with GitHub Actions Inactive
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 1278a00 to 0220354 Compare March 17, 2025 21:26
@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 21:26 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 21:46 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 17, 2025 21:46 — with GitHub Actions Inactive
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 0220354 to f49c62c Compare March 18, 2025 11:51
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 11:51 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 12:06 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 12:06 — with GitHub Actions Inactive
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from f49c62c to 3469dba Compare March 18, 2025 17:20
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 3469dba to 710da5d Compare March 18, 2025 21:05
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 21:05 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 21:23 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 18, 2025 21:23 — with GitHub Actions Inactive
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 710da5d to 903d4d7 Compare March 19, 2025 11:01
@EwanC EwanC temporarily deployed to WindowsCILock March 19, 2025 11:01 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 19, 2025 11:13 — with GitHub Actions Inactive
@EwanC EwanC marked this pull request as ready for review March 19, 2025 12:41
@EwanC EwanC requested review from a team as code owners March 19, 2025 12:41
@EwanC EwanC requested a review from Bensuo March 19, 2025 12:41
Comment thread unified-runtime/source/adapters/opencl/CMakeLists.txt Outdated
Comment thread unified-runtime/source/adapters/opencl/CMakeLists.txt Outdated
Comment thread unified-runtime/test/conformance/exp_command_buffer/native-command/CMakeLists.txt Outdated
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 903d4d7 to 33b77d2 Compare March 19, 2025 14:34
@EwanC EwanC force-pushed the ur_cmd-buf_native-command_cts branch from 33b77d2 to 64c23b9 Compare March 20, 2025 08:15
@EwanC EwanC temporarily deployed to WindowsCILock March 20, 2025 08:15 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 20, 2025 08:33 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to WindowsCILock March 20, 2025 08:33 — with GitHub Actions Inactive
@EwanC
Copy link
Copy Markdown
Contributor Author

EwanC commented Mar 21, 2025

@intel/llvm-gatekeepers This is good to merge, thanks

@sommerlukas
Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers This is good to merge, thanks

@EwanC There's still one CI job (Linux Intel Battlemage) running, let's wait for that to finish first.

@EwanC
Copy link
Copy Markdown
Contributor Author

EwanC commented Mar 21, 2025

@EwanC There's still one CI job (Linux Intel Battlemage) running, let's wait for that to finish first.

Apologies, I could have sworn when I refreshed my browser tab earlier the checks were all finished. They checks should be all finished and green now (I think!)

@sommerlukas sommerlukas merged commit 27aae7a into intel:sycl Mar 21, 2025
51 of 54 checks passed
@sommerlukas
Copy link
Copy Markdown
Contributor

@EwanC There's still one CI job (Linux Intel Battlemage) running, let's wait for that to finish first.

Apologies, I could have sworn when I refreshed my browser tab earlier the checks were all finished. They checks should be all finished and green now (I think!)

No worries, to me it looked a bit like a retry of the previously failed Battlemage job. I don't know if we have automatic retries configured or if some action triggered the re-run.

EwanC pushed a commit to reble/llvm that referenced this pull request Mar 21, 2025
All UR command-buffer CTS tests are marked as XFail on V2 [See CTS
generic base class for command-buffer](https://github.com/intel/llvm/blob/sycl/unified-runtime/test/conformance/exp_command_buffer/fixtures.h#L48)

This was omitted by accident from the new command-buffer CTS
tests added in intel#17494 which don't
derive from that base class. Fixed by adding in now.
uditagarwal97 pushed a commit that referenced this pull request Mar 21, 2025
All UR command-buffer CTS tests are marked as XFail on V2 [See CTS
generic base class for
command-buffer](https://github.com/intel/llvm/blob/sycl/unified-runtime/test/conformance/exp_command_buffer/fixtures.h#L48)

This was omitted by accident from the new command-buffer CTS tests added
in #17494 which don't derive from that
base class. Fixed by adding in now.
RossBrunton pushed a commit to oneapi-src/unified-runtime that referenced this pull request Mar 24, 2025
All UR command-buffer CTS tests are marked as XFail on V2 [See CTS
generic base class for
command-buffer](https://github.com/intel/llvm/blob/sycl/unified-runtime/test/conformance/exp_command_buffer/fixtures.h#L48)

This was omitted by accident from the new command-buffer CTS tests added
in intel/llvm#17494 which don't derive from that
base class. Fixed by adding in now.
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.

Add UR CTS testing for command-buffer native command

4 participants