Skip to content

Commit

Permalink
[SYCL][E2E] Print features detected by lit
Browse files Browse the repository at this point in the history
  • Loading branch information
aelovikov-intel committed Jan 31, 2025
1 parent 51cfcfa commit 3151a52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sycl/test-e2e/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,13 @@ def open_check_file(file_name):
("%clang", " " + config.dpcpp_compiler + " " + config.c_flags)
)

lit_config.note(
"Global features: {}".format(" ".join(sorted(config.available_features)))
)
lit_config.note("Per-device features:")
for dev, features in config.sycl_dev_features.items():
lit_config.note("\t{}: {}".format(dev, " ".join(sorted(features))))

# Set timeout for a single test
try:
import psutil
Expand Down

0 comments on commit 3151a52

Please sign in to comment.