Skip to content

Commit 64adeed

Browse files
author
Vahid Tavanashad
committed
update conftest.py
1 parent 690c43a commit 64adeed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def pytest_collection_modifyitems(config, items):
131131
dev = dpctl.select_default_device()
132132
is_cpu = dev.is_cpu
133133
is_gpu = dev.is_gpu
134-
is_gpu_w_fp64 = dev.has_aspect_fp64
134+
support_fp64 = dev.has_aspect_fp64
135135
is_cuda = dpnp.is_cuda_backend(dev)
136136

137137
print("")
@@ -140,15 +140,15 @@ def pytest_collection_modifyitems(config, items):
140140
)
141141
print(f"DPNP current device is CPU: {is_cpu}")
142142
print(f"DPNP current device is GPU: {is_gpu}")
143-
print(f"DPNP current device is GPU with fp64 support: {is_gpu_w_fp64}")
143+
print(f"DPNP current device supports fp64: {support_fp64}")
144144
print(f"DPNP current device is GPU with cuda backend: {is_cuda}")
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}")
148148
print("")
149149
if is_gpu or os.getenv("DPNP_QUEUE_GPU") == "1":
150150
excluded_tests.extend(get_excluded_tests(test_exclude_file_gpu))
151-
if not is_gpu_w_fp64:
151+
if not support_fp64:
152152
excluded_tests.extend(
153153
get_excluded_tests(test_exclude_file_gpu_no_fp64)
154154
)

0 commit comments

Comments
 (0)