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

[External Resource Interop][Semaphores] Added support for 2 more semaphore types #2751

Open
wants to merge 1 commit into
base: SYCLomatic
Choose a base branch
from

Conversation

TejaX-Alaghari
Copy link
Contributor

This PR adds support for 2 more Semaphore types:

  • timeline_fd
  • timeline_win32_nt_handle

As well as adds all the external resource interop APIs to QAP test case

if (extSemType == sycl::ext::oneapi::experimental::
external_semaphore_handle_type::win32_nt_dx12_fence) {
q_ptr->ext_oneapi_signal_external_semaphore(
case sycl::ext::oneapi::experimental::external_semaphore_handle_type::
Copy link
Contributor

@ziranzha ziranzha Mar 31, 2025

Choose a reason for hiding this comment

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

Can be merge WIN32 together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I'll refactor the switch case

@@ -1550,6 +1550,18 @@ void MapNames::setExplicitNamespaceMap(
? getExpNamespace() +
"external_semaphore_handle_type::win32_nt_dx12_fence"
: "cudaExternalSemaphoreHandleTypeD3D12Fence")},
{"cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd",
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is the migration?

Copy link
Contributor Author

@TejaX-Alaghari TejaX-Alaghari Apr 4, 2025

Choose a reason for hiding this comment

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

Sorry, I didn't understand the question

Can you please explain

@TejaX-Alaghari
Copy link
Contributor Author

The case passes locally using latest xmain-rel compiler

image

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.

2 participants