compiler warnings are errors (#1870)

This commit is contained in:
Awni Hannun
2025-02-17 00:07:49 -08:00
committed by GitHub
parent 1762793989
commit 5274c3c43f
2 changed files with 4 additions and 1 deletions

View File

@@ -43,6 +43,8 @@ void matmul_bnns(
BNNSDataType bnns_dtype = to_bnns_dtype(out.dtype());
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
const BNNSLayerParametersBroadcastMatMul gemm_params{
/* float alpha = */ alpha,
/* float beta = */ beta,
@@ -124,6 +126,7 @@ void matmul_bnns(
}
BNNSFilterDestroy(bnns_filter);
#pragma GCC diagnostic pop
}
template <>