Skip to content

Commit

Permalink
gemm: Extend datagen assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca authored and Viviane Potocnik committed May 8, 2024
1 parent 1df7825 commit 3e171dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw/blas/gemm/scripts/datagen.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def validate_config(self, gemm_fp, parallelize_m,
' not supported for FP64 and FP32'
assert not (dtype == 1 and impl == "opt"), 'FP8 not supported in' \
' optimized implementation' \
' (switch to opt_ex)'
' (switch to OPT_EX)'
assert dtype == 8 or beta == 0, 'beta != 0 supported only in FP64'

def emit_header(self, **kwargs):
header = [super().emit_header()]
Expand Down

0 comments on commit 3e171dd

Please sign in to comment.