File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717// once fixed.
1818// REQUIRES: target-spir
1919
20- // RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies -O0 %S/Inputs/exporting_function.cpp -o %t.export.syclbin
20+ // RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies %if cl_options %{/Od%} %else %{ -O0%} %S/Inputs/exporting_function.cpp -o %t.export.syclbin
2121// RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies -O1 %S/Inputs/importing_kernel.cpp -o %t.import.syclbin
2222// RUN: %{build} -o %t.out
2323// RUN: %{run} %t.out %t.export.syclbin %t.import.syclbin
Original file line number Diff line number Diff line change 1717// once fixed.
1818// REQUIRES: target-spir
1919
20- // RUN: %clangxx --offload-new-driver -fsyclbin=object -fsycl-allow-device-image-dependencies -O0 %S/Inputs/exporting_function.cpp -o %t.export.syclbin
20+ // RUN: %clangxx --offload-new-driver -fsyclbin=object -fsycl-allow-device-image-dependencies %if cl_options %{/Od%} %else %{ -O0%} %S/Inputs/exporting_function.cpp -o %t.export.syclbin
2121// RUN: %clangxx --offload-new-driver -fsyclbin=object -fsycl-allow-device-image-dependencies -O1 %S/Inputs/importing_kernel.cpp -o %t.import.syclbin
2222// RUN: %{build} -o %t.out
2323// RUN: %{run} %t.out %t.export.syclbin %t.import.syclbin
You can’t perform that action at this time.
0 commit comments