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

[CTS] Add UR_SYCL_LIBRARY_DIR CMake variable #1026

Merged

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Nov 1, 2023

The CTS is already dependant on the DPC++ compiler to generate programs inputs for the program, kernel, and enqueue test suites specified via the UR_DPCXX CMake variable. If the DPC++ compiler is not installed on the system the executables it outputs will likely fail to find the SYCL runtime library when executed, breaking the generation of CTS program inputs. The patch introduces the UR_SYCL_LIBRARY_DIR CMake variable enabling the user to specify the path to the SYCL runtime library for use when generating CTS program inputs.

@kbenzie kbenzie requested a review from a team as a code owner November 1, 2023 15:15
Copy link
Contributor

@pbalcer pbalcer left a comment

Choose a reason for hiding this comment

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

@kbenzie kbenzie force-pushed the benie/test-conformance-sycl-library-dir branch 2 times, most recently from 5990368 to f3042a0 Compare November 3, 2023 14:00
README.md Outdated Show resolved Hide resolved
The CTS is already dependant on the DPC++ compiler to generate programs
inputs for the program, kernel, and enqueue test suites specified via
the `UR_DPCXX` CMake variable. If the DPC++ compiler is not installed on
the system the executables it outputs will likely fail to find the SYCL
runtime library when executed, breaking the generation of CTS program
inputs. The patch introduces the `UR_SYCL_LIBRARY_DIR` CMake variable
enabling the user to specify the path to the SYCL runtime library for
use when generating CTS program inputs.
@kbenzie kbenzie force-pushed the benie/test-conformance-sycl-library-dir branch from f3042a0 to b01beb7 Compare November 7, 2023 12:56
@kbenzie kbenzie merged commit d70bae4 into oneapi-src:adapters Nov 7, 2023
48 checks passed
@kbenzie kbenzie deleted the benie/test-conformance-sycl-library-dir branch June 11, 2024 15:51
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.

3 participants