Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Conversation

@steffenlarsen
Copy link

These changes add a regression test to ensure that exported device functions do not appear as kernels in kernel bundles.

This will pass when intel/llvm#4660 is merged.

…kernel bundles

These changes add a regression test to ensure that exported device
functions do not appear as kernels in kernel bundles.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
@@ -0,0 +1,45 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out

Choose a reason for hiding this comment

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

Does it make sense to run on the host device if the test skips execution on such a device(line 22)?

Copy link
Author

Choose a reason for hiding this comment

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

Good point. I don't think so, so I have removed it.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
@vladimirlaz vladimirlaz merged commit 35272a4 into intel:intel Oct 5, 2021
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…kernel bundles (intel/llvm-test-suite#486)

These changes add a regression test to ensure that exported device
functions do not appear as kernels in kernel bundles.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants