Skip to content

Commit d46a025

Browse files
author
Diptorup Deb
committed
Remove workarounds to make device equality work. (#338)
- dpcpp 2021.2 fixed device equality in the dpcpp runtime and we can now remove several workarounds in dpctl: - DPCTLDeviceMgr_GetDeviceAndContextPair is now renamed as DPCTLDeviceMgr_GetCachedContext and only returns a DPCTLSyclContextRef instead of a pair of DPCTLSyclContextRef and DPCTLSyclDeviceRef. - Remove the DPCTLDeviceMgr_AreEq function and related internal helper functions for hashing SYCL devices. - Remove DeviceWrapper class inside dpctl_sycl_device_manager.cpp. - Remove DPCTL_DeviceAndContextPair type form C API. - Make equivalent changes to the Python API.
1 parent 8b3be06 commit d46a025

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpctl/_sycl_queue.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ from ._backend cimport (
2525
_arg_data_type,
2626
_backend_type,
2727
_queue_property_type,
28+
<<<<<<< HEAD
2829
DPCTLContext_Create,
30+
=======
31+
>>>>>>> Remove workarounds to make device equality work. (#338)
2932
DPCTLContext_Delete,
3033
DPCTLDefaultSelector_Create,
3134
DPCTLDevice_CreateFromSelector,

0 commit comments

Comments
 (0)