Skip to content

Commit 183a81d

Browse files
Add -O0 as a workaround for IGC bug
1 parent b4f4666 commit 183a81d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/test-e2e/Basic/image/image_max_size.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// REQUIRES: aspect-ext_intel_legacy_image
2-
// RUN: %{build} -o %t.out
2+
3+
// %O0 added because of GSD-10960. Without it, IGC will fail with
4+
// an access violation error.
5+
// RUN: %{build} %O0 -o %t.out
36
// RUN: %{run} %t.out
47

58
// UNSUPPORTED: cuda

0 commit comments

Comments
 (0)