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

[SYCL] xfail on zedebug #707

Merged
merged 1 commit into from
Jan 10, 2022
Merged

[SYCL] xfail on zedebug #707

merged 1 commit into from
Jan 10, 2022

Conversation

bso-intel
Copy link

@bso-intel bso-intel commented Jan 6, 2022

Two test cases show memory leak on github.
So, we need to disable reporting failures tentatively.

Signed-off-by: Byoungro So [email protected]

Signed-off-by: Byoungro So <[email protected]>
@bso-intel bso-intel requested a review from a team as a code owner January 6, 2022 18:41
@bso-intel
Copy link
Author

I believe the two failures in pre-ci-windows are irrelevant to my changeset.

@@ -2,6 +2,7 @@
// RUN: env SYCL_PI_TRACE=-1 SYCL_PROGRAM_COMPILE_OPTIONS=-DENV_COMPILE_OPTS SYCL_PROGRAM_LINK_OPTIONS=-DENV_LINK_OPTS SYCL_DEVICE_FILTER=%sycl_be %t.out | FileCheck %s
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// XFAIL: ze_debug-1,ze_debug4

Choose a reason for hiding this comment

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

@bso-intel - The XFAIL directive means the test will still be run, just expected to fail. Whereas the UNSUPPORTED directive prevents the test from ever being run. In this PR you are trying to prevent a memory leak on the CI system, no? If so, wouldn't using the UNSUPPORTED mechanism be better?

Also, if this is a temporary change while we await a fix, it might be best to also add a comment saying that to the test itself, rather than just the PR, so it doesn't get overlooked in the future.

Copy link
Author

Choose a reason for hiding this comment

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

I know we could use //UNSUPPORTED, but we decided to use //XFAIL.
//XFAIL is exactly for this purpose to run it and find out if it passes some day in the future.
ze_debug-1 and ze_debug4 are all temporary markers.

Copy link
Author

Choose a reason for hiding this comment

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

@cperkinsintel , please refer to #704.
I just add two more tests that are missed from PR-704.

@bso-intel bso-intel requested a review from vladimirlaz January 10, 2022 07:02
@vladimirlaz vladimirlaz merged commit 6d48ffb into intel:intel Jan 10, 2022
@bso-intel bso-intel deleted the prog-merge branch January 10, 2022 17:47
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Apr 12, 2022
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
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.

3 participants