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

Commit 075373c

Browse files
author
Sergey Kanaev
committed
Disabled use of devicelib by fallback assert in fpga_aocx tests until fixed
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 69fa232 commit 075373c

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

SYCL/Basic/fpga_tests/fpga_aocx.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111
/// E2E test for AOCX creation/use/run for FPGA
1212
// Produce an archive with device (AOCX) image. To avoid appending objects to
1313
// leftover archives, remove one if exists.
14+
// FIXME Disabled use of devicelib by assert feature until the 2-step build gets
15+
// fixed.
1416
// RUN: rm %t_image.a || true
15-
// RUN: %clangxx -fsycl -fintelfpga -fsycl-link=image %S/Inputs/fpga_device.cpp -o %t_image.a
17+
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fintelfpga -fsycl-link=image %S/Inputs/fpga_device.cpp -o %t_image.a
1618
// Produce a host object
17-
// RUN: %clangxx -fsycl -fintelfpga %S/Inputs/fpga_host.cpp -c -o %t.o
19+
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fintelfpga %S/Inputs/fpga_host.cpp -c -o %t.o
1820

1921
// AOCX with source
20-
// RUN: %clangxx -fsycl -fintelfpga %S/Inputs/fpga_host.cpp %t_image.a -o %t_aocx_src.out
22+
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fintelfpga %S/Inputs/fpga_host.cpp %t_image.a -o %t_aocx_src.out
2123
// AOCX with object
22-
// RUN: %clangxx -fsycl -fintelfpga %t.o %t_image.a -o %t_aocx_obj.out
24+
// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl -fintelfpga %t.o %t_image.a -o %t_aocx_obj.out
2325
//
2426
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_src.out
2527
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_obj.out

SYCL/Basic/fpga_tests/fpga_aocx_win.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@
1212
/// E2E test for AOCX creation/use/run for FPGA
1313
// Produce an archive with device (AOCX) image. To avoid appending objects to
1414
// leftover archives, remove one if exists.
15+
// FIXME Disabled use of devicelib by assert feature until the 2-step build gets
16+
// fixed.
1517
// RUN: rm %t_image.a || true
16-
// RUN: %clangxx -fsycl -fintelfpga -fsycl-link=image %S/Inputs/fpga_device.cpp -o %t_image.lib
18+
// RUN: %clangx -DSYCL_DISABLE_FALLBACK_ASSERT=1x -fsycl -fintelfpga -fsycl-link=image %S/Inputs/fpga_device.cpp -o %t_image.lib
1719
// Produce a host object
18-
// RUN: %clangxx -fsycl -fintelfpga -DHOST_PART %S/Inputs/fpga_host.cpp -c -o %t.obj
20+
// RUN: %clangx -DSYCL_DISABLE_FALLBACK_ASSERT=1x -fsycl -fintelfpga -DHOST_PART %S/Inputs/fpga_host.cpp -c -o %t.obj
1921

2022
// AOCX with source
21-
// RUN: %clangxx -fsycl -fintelfpga -DHOST_PART %S/Inputs/fpga_host.cpp %t_image.lib -o %t_aocx_src.out
23+
// RUN: %clangx -DSYCL_DISABLE_FALLBACK_ASSERT=1x -fsycl -fintelfpga -DHOST_PART %S/Inputs/fpga_host.cpp %t_image.lib -o %t_aocx_src.out
2224
// AOCX with object
23-
// RUN: %clangxx -fsycl -fintelfpga %t.obj %t_image.lib -o %t_aocx_obj.out
25+
// RUN: %clangx -DSYCL_DISABLE_FALLBACK_ASSERT=1x -fsycl -fintelfpga %t.obj %t_image.lib -o %t_aocx_obj.out
2426
//
2527
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_src.out
2628
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_obj.out

0 commit comments

Comments
 (0)