Skip to content

Commit

Permalink
Explicit != 0
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Aug 21, 2023
1 parent 15c6454 commit 9d3b244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yateto/codegen/gemm/gemmgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _callGenerator(self, argList):
result = subprocess.run(strcmd)
except OSError:
raise RuntimeError(f'GEMM code generator executable "{self._cmd}" not found. (Make sure to add the folder containing the executable to your PATH environment variable.)')
if result.returncode:
if result.returncode != 0:
raise RuntimeError(f"""GEMM code generator executable "{self._cmd}" failed. Thus, the kernel generation may be incomplete.
Given command: {' '.join(strcmd)}
Stdout: {result.stdout}
Expand Down

0 comments on commit 9d3b244

Please sign in to comment.