Skip to content

replace host_device device type with host in test #616

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

Merged
merged 1 commit into from
Oct 4, 2021
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