We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d431ca1 commit 752d927Copy full SHA for 752d927
dpctl/tests/test_sycl_device_factory.py
@@ -185,3 +185,13 @@ def test_get_devices_with_device_type_str(device_type_str):
185
assert dev == devices[i]
186
else:
187
pytest.skip()
188
+
189
190
+def test_get_composite_devices():
191
+ devices = dpctl.get_composite_devices()
192
+ if devices:
193
+ num_devices = len(devices)
194
+ for i in range(num_devices):
195
+ assert devices[i].is_composite
196
+ else:
197
+ pytest.skip()
0 commit comments