Skip to content

Commit b94153b

Browse files
committed
Print detected GPU family.
1 parent 1f92040 commit b94153b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,13 @@ def open_check_file(file_name):
802802
for arch in architectures
803803
if get_device_name_from_arch(arch) is not None
804804
)
805+
806+
# Print the detected GPU family name.
807+
if len(device_names) > 0:
808+
lit_config.note(
809+
"Detected GPU family for {}: {}".format(sycl_device, ", ".join(device_names))
810+
)
811+
805812
features = set()
806813
features.update(aspect_features)
807814
features.update(sg_size_features)

0 commit comments

Comments
 (0)