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

Commit c08087a

Browse files
[SYCL][ESIMD] Ignore warning messages from CM_EMU for esimd_emulator
- Warning messages from CM_EMU library for esimd_emulator cause failures for 'CHECK' and 'diff' commands - 'XFAIL:esimd_emulator' is marked for tests using 'CHECK' command - 'grep' command is inserted in pipeline for 'sycl-ls.cpp' test in order to filter out those warning messages
1 parent 6b5ad5c commit c08087a

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

SYCL/Basic/image/srgba-read.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
// UNSUPPORTED: cuda
77
// UNSUPPORTED: hip
88

9+
// esimd_emulator : Warning messages from CM_EMU library for emulation
10+
// support cause failures for 'CHECK' commands.
11+
// TODO: Remove "XFAIL:" mark when those messages are suppressed
12+
// XFAIL: esimd_emulator
13+
914
#include <sycl/sycl.hpp>
1015

1116
using namespace sycl;

SYCL/DeviceLib/built-ins/printf.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
// UNSUPPORTED: cuda || hip
22
// CUDA and HIP don't support printf.
3+
4+
// esimd_emulator : Warning messages from CM_EMU library for emulation
5+
// support cause failures for 'CHECK' commands.
6+
// TODO: Remove "XFAIL:" mark when those messages are suppressed
7+
// XFAIL: esimd_emulator
8+
39
//
410
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
511
// RUN: %HOST_RUN_PLACEHOLDER %t.out %HOST_CHECK_PLACEHOLDER

SYCL/Plugin/sycl-ls.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: sycl-ls --verbose | grep "Device \[" | wc -l >%t.verbose.out
2-
// RUN: sycl-ls | wc -l >%t.concise.out
2+
// RUN: sycl-ls | grep "^\[[a-z0-9_]*:[a-z]*:[0-9]*\]\ " | wc -l >%t.concise.out
33
// RUN: diff %t.verbose.out %t.concise.out
44

55
//==---- sycl-ls.cpp - SYCL test for consistency of sycl-ls output ---------==//
@@ -12,3 +12,7 @@
1212
// The test crashed on CUDA CI machines with the latest OpenCL GPU RT
1313
// (21.19.19792).
1414
// UNSUPPORTED: cuda
15+
16+
// esimd_emulator : Warning messages from CM_EMU library for emulation
17+
// support cause failures for 'diff' commands.
18+
// TODO: Remove "grep" command when those messages are suppressed

0 commit comments

Comments
 (0)