Skip to content

Commit a240902

Browse files
author
Diptorup Deb
committed
Missed one host_device -> host
1 parent b0b64d7 commit a240902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_device_factory.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ cdef _device_type _enum_to_dpctl_sycl_device_ty(DTy):
128128
return _device_type._CUSTOM
129129
elif DTy == device_type_t.gpu:
130130
return _device_type._GPU
131-
elif DTy == device_type_t.host_device:
131+
elif DTy == device_type_t.host:
132132
return _device_type._HOST_DEVICE
133133
else:
134134
return _device_type._UNKNOWN_DEVICE

0 commit comments

Comments
 (0)