Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UR] Move non-conformance/adapter tests to lit #17580

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

RossBrunton
Copy link
Contributor

This adds support for lit to unified-runtime, in the form
of a new target check-unified-runtime. This target is available
when UR is built standalone and when built as part of dpcpp.

In addition, there are targets like check-unified-runtime-unit
which run a subset of the lit tests.

When built standalone, lit and filecheck must be avilable in
the path. A requirements_testing.txt file is available to
install test dependencies.

When built as part of dpcpp, a new cmake variable is available;
SYCL_UR_BUILD_TESTS which is off by default. When enabled,
check-unified-runtime will be available as a target and will
also run as part of check-all.

All tests have been ported with the exception of:

  • Adapter tests
  • Conformance tests

The Python version for macos was also bumped to 3.10 to enable
use of a newer filecheck version.

@RossBrunton RossBrunton marked this pull request as ready for review March 24, 2025 11:22
@RossBrunton RossBrunton requested review from a team as code owners March 24, 2025 11:22
@RossBrunton
Copy link
Contributor Author

#17361

This is a newer version of the PR here. See that for some comments that have hopefully been resolved.

This adds support for lit to unified-runtime, in the form
of a new target `check-unified-runtime`. This target is available
when UR is built standalone and when built as part of dpcpp.

In addition, there are targets like `check-unified-runtime-unit`
which run a subset of the lit tests.

When built standalone, `lit` and `filecheck` must be avilable in
the path. A `requirements_testing.txt` file is available to
install test dependencies.

When built as part of dpcpp, a new cmake variable is available;
`SYCL_UR_BUILD_TESTS` which is off by default. When enabled,
`check-unified-runtime` will be available as a target and will
also run as part of `check-all`.

All tests have been ported with the exception of:
* Adapter tests
* Conformance tests

The Python version for macos was also bumped to 3.10 to enable
use of a newer filecheck version.
Copy link
Contributor

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes outside unified-runtime LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants