Skip to content

Conversation

@npmiller
Copy link
Contributor

The CUDA backend has two different versions of the interop. A legacy version and a newer experimental version. Using the experimental version requires defining a macro before including the SYCL headers. This test uses the experimental version so it should define the macro.

Fixes: #16070

@npmiller npmiller requested a review from a team as a code owner March 25, 2025 18:03
@npmiller npmiller requested a review from slawekptak March 25, 2025 18:03
The CUDA backend has two different versions of the interop. A legacy
version and a newer experimental version. Using the experimental version
requires defining a macro before including the SYCL headers. This test
uses the experimental version so it should define the macro.
Copy link
Contributor

@HPS-1 HPS-1 left a comment

Choose a reason for hiding this comment

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

LGTM

@npmiller
Copy link
Contributor Author

npmiller commented Apr 3, 2025

friendly ping @intel/llvm-reviewers-runtime @slawekptak

@npmiller
Copy link
Contributor Author

npmiller commented Apr 9, 2025

@intel/llvm-reviewers-runtime @slawekptak could I get a review on this, it's a very small test update

// XFAIL: target-nvidia
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16070
// RUN: %if target-spir %{ %{build} -o %t-opencl.out %}
// RUN: %if target-nvidia %{ %{build} -isystem %sycl_include -DBUILD_FOR_CUDA -o %t-cuda.out %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to make sure, was the -isystem option removed intentionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's unnecessary, not sure why it was added in the first place, when it was added the test was already xfaild

@npmiller
Copy link
Contributor Author

npmiller commented Apr 9, 2025

@intel/llvm-gatekeepers this is ready to merge

@ldrumm ldrumm merged commit 6c162ca into intel:sycl Apr 9, 2025
24 checks passed
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.

Cuda E2E test fails due to redefinition

4 participants