Skip to content

Commit e67bb5c

Browse files
authored
CMPLRTST-16346: Fix stack overflow on windows
2 parents 8d45d64 + 5cc10e6 commit e67bb5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SYCL/Matrix/elemwise_irreg_size_ops_bf16.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
//===----------------------------------------------------------------------===//
88
// REQUIRES: matrix
99

10-
// RUN: %clangxx -fsycl %s -o %t.out
10+
// 'LINK' environment is used to set additional flags for MS linker, set stack
11+
// size to 8MB to avoid stack overflow issue on windows.
12+
// RUN: env LINK=-stack:0x800000 %clangxx -fsycl %s -o %t.out
1113
// This test is for element wise operations when matrix size does not multiply
1214
// SG size. This corner case only applies to AMX. Also, it tests bf16 type.
1315
// only run this on AMX

0 commit comments

Comments
 (0)