Skip to content

Commit 6a606b5

Browse files
committed
small fixup
1 parent eeedeeb commit 6a606b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/backend/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def make_spv(src, metadata, options):
338338
if os.path.exists(flog.name):
339339
with open(flog.name) as log_file:
340340
log = log_file.read().strip()
341-
if 'spilled' in log and metadata["build_flags"].find("-cl-intel-256-GRF-per-thread") is -1:
341+
if 'spilled' in log and metadata["build_flags"].find("-cl-intel-256-GRF-per-thread") == -1:
342342
"""
343343
The exact message is something like:
344344
warning: kernel matmul_kernel compiled SIMD16 allocated 128 regs and spilled around 217

0 commit comments

Comments
 (0)