Skip to content

Commit 5670f78

Browse files
committed
Trace the current device info when running the tests
1 parent 876e940 commit 5670f78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpnp/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def pytest_collection_modifyitems(config, items):
145145
print(f"DPNP version: {dpnp.__version__}, location: {dpnp}")
146146
print(f"NumPy version: {numpy.__version__}, location: {numpy}")
147147
print(f"Python version: {sys.version}")
148+
print(f"Device info: {dpctl.utils.intel_device_info(dev)}")
148149
print("")
149150
if is_gpu or os.getenv("DPNP_QUEUE_GPU") == "1":
150151
excluded_tests.extend(get_excluded_tests(test_exclude_file_gpu))

0 commit comments

Comments
 (0)