@@ -108,11 +108,11 @@ void DX12InteropTest::importDX12SharedMemoryHandle(size_t allocationSize) {
108108 syclexp::external_mem_handle_type::win32_nt_dx12_resource,
109109 allocationSize};
110110
111- m_syclInteropMemHandle =
111+ m_syclExternalMemHandle =
112112 syclexp::import_external_memory (extMemDesc, m_syclQueue);
113113
114114 m_syclImageMemHandle = syclexp::map_external_image_memory (
115- m_syclInteropMemHandle , m_syclImageDesc, m_syclQueue);
115+ m_syclExternalMemHandle , m_syclImageDesc, m_syclQueue);
116116
117117 m_syclImageHandle =
118118 syclexp::create_image (m_syclImageMemHandle, m_syclImageDesc, m_syclQueue);
@@ -123,15 +123,15 @@ void DX12InteropTest::importDX12SharedSemaphoreHandle() {
123123 extSemDesc{m_sharedSemaphoreHandle,
124124 syclexp::external_semaphore_handle_type::win32_nt_dx12_fence};
125125
126- m_syclInteropSemaphoreHandle =
126+ m_syclExternalSemaphoreHandle =
127127 syclexp::import_external_semaphore (extSemDesc, m_syclQueue);
128128}
129129
130130void DX12InteropTest::callSYCLKernel () {
131131#ifdef TEST_SEMAPHORE_IMPORT
132132 // Wait for imported semaphore. This semaphore was signalled at the
133133 // end of `populateDX12Texture`.
134- m_syclQueue.ext_oneapi_wait_external_semaphore (m_syclInteropSemaphoreHandle ,
134+ m_syclQueue.ext_oneapi_wait_external_semaphore (m_syclExternalSemaphoreHandle ,
135135 m_sharedFenceValue);
136136#endif
137137
@@ -168,7 +168,7 @@ void DX12InteropTest::callSYCLKernel() {
168168
169169 // Signal imported semaphore.
170170 m_syclQueue.submit ([&](sycl::handler &cgh) {
171- cgh.ext_oneapi_signal_external_semaphore (m_syclInteropSemaphoreHandle ,
171+ cgh.ext_oneapi_signal_external_semaphore (m_syclExternalSemaphoreHandle ,
172172 m_sharedFenceValue);
173173 });
174174
0 commit comments