Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dpctl/tests/test_sycl_device_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
]

argument_list_2 = [
("host", "host_device"),
("host", "host"),
("level_zero", "gpu"),
("opencl", "gpu"),
("opencl", "cpu"),
Expand All @@ -44,7 +44,7 @@
]

list_of_device_type_str = [
"host_device",
"host",
"gpu",
"cpu",
]
Expand All @@ -55,7 +55,7 @@ def string_to_device_type(dty_str):
return dty.accelerator
elif dty_str == "cpu":
return dty.cpu
elif dty_str == "host_device":
elif dty_str == "host":
return dty.host_device
elif dty_str == "gpu":
return dty.gpu
Expand Down