Skip to content

Commit 6295ea1

Browse files
DianaChenigcbot
authored andcommitted
IGA: Make send src's OOB message a warning
Make send src's OOB register access message a warning instead of an errors. It's users' responsibility to decide if the produced binary is valid or not.
1 parent 0bc9ce5 commit 6295ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/iga/IGALibrary/Frontend/KernelParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2929,7 +2929,7 @@ class KernelParser : GenParser {
29292929
if (v.s64 < 0 || v.s64 > 0x1F) {
29302930
FailAtT(at, "SrcLen out of range");
29312931
} else if (regNum + (int)v.s64 - 1 > regLimit) {
2932-
FailAtT(at, "SrcLen register range extends past GRF end");
2932+
WarningAtT(at, "SrcLen register range extends past GRF end");
29332933
}
29342934
if (v.s64 > 32) { // could constrain this more
29352935
FailAtT(at, "invalid payload length");

0 commit comments

Comments
 (0)