Skip to content

Commit 1b713d2

Browse files
replace host_device device type with host in test (#616)
1 parent 10db385 commit 1b713d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpctl/tests/test_sycl_device_factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
]
3232

3333
argument_list_2 = [
34-
("host", "host_device"),
34+
("host", "host"),
3535
("level_zero", "gpu"),
3636
("opencl", "gpu"),
3737
("opencl", "cpu"),
@@ -44,7 +44,7 @@
4444
]
4545

4646
list_of_device_type_str = [
47-
"host_device",
47+
"host",
4848
"gpu",
4949
"cpu",
5050
]
@@ -55,7 +55,7 @@ def string_to_device_type(dty_str):
5555
return dty.accelerator
5656
elif dty_str == "cpu":
5757
return dty.cpu
58-
elif dty_str == "host_device":
58+
elif dty_str == "host":
5959
return dty.host_device
6060
elif dty_str == "gpu":
6161
return dty.gpu

0 commit comments

Comments
 (0)