-
Notifications
You must be signed in to change notification settings - Fork 93
[External Resource Interop][Semaphores] Added support for 2 more semaphore types #2751
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
Conversation
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:: |
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.
Can be merge WIN32 together?
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.
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", |
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.
Where is the migration?
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.
The migration for cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd
is external_semaphore_handle_type::timeline_fd
here
Closing the PR due to CI issue |
This PR adds support for 2 more Semaphore types:
As well as adds all the external resource interop APIs to QAP test case