File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ def pytest_collection_modifyitems(config, items):
129
129
test_exclude_file_cuda = os .path .join (test_path , "skipped_tests_cuda.tbl" )
130
130
131
131
dev = dpctl .select_default_device ()
132
+ dev_id = dpctl .utils .intel_device_info (dev ).get ("device_id" , 0 )
132
133
is_cpu = dev .is_cpu
133
134
is_gpu = dev .is_gpu
134
135
support_fp64 = dev .has_aspect_fp64
@@ -138,6 +139,7 @@ def pytest_collection_modifyitems(config, items):
138
139
print (
139
140
f"DPNP Test scope includes all integer dtypes: { bool (dtype_config .all_int_types )} "
140
141
)
142
+ print (f"DPNP current device ID: { dev_id } " )
141
143
print (f"DPNP current device is CPU: { is_cpu } " )
142
144
print (f"DPNP current device is GPU: { is_gpu } " )
143
145
print (f"DPNP current device supports fp64: { support_fp64 } " )
You can’t perform that action at this time.
0 commit comments