This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11
11
// / E2E test for AOCX creation/use/run for FPGA
12
12
// Produce an archive with device (AOCX) image. To avoid appending objects to
13
13
// leftover archives, remove one if exists.
14
+ // FIXME Disabled use of devicelib by assert feature until the 2-step build gets
15
+ // fixed.
14
16
// 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
16
18
// 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
18
20
19
21
// 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
21
23
// 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
23
25
//
24
26
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_src.out
25
27
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_obj.out
Original file line number Diff line number Diff line change 12
12
// / E2E test for AOCX creation/use/run for FPGA
13
13
// Produce an archive with device (AOCX) image. To avoid appending objects to
14
14
// leftover archives, remove one if exists.
15
+ // FIXME Disabled use of devicelib by assert feature until the 2-step build gets
16
+ // fixed.
15
17
// 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
17
19
// 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
19
21
20
22
// 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
22
24
// 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
24
26
//
25
27
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_src.out
26
28
// RUN: %ACC_RUN_PLACEHOLDER %t_aocx_obj.out
You can’t perform that action at this time.
0 commit comments