Skip to content

Commit 73aacee

Browse files
committed
ignore vla clang compile error
1 parent 02a9c5e commit 73aacee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernels/portable/cpu/util/normalization_ops_util.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
namespace torch {
1515
namespace executor {
1616

17+
#ifdef __clang__
18+
#pragma clang diagnostic ignore "-Wvla-extension"
19+
#endif
20+
1721
using Tensor = executorch::aten::Tensor;
1822

1923
bool check_batch_norm_args(

0 commit comments

Comments
 (0)