mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-17 17:28:10 +08:00
compiler warnings are errors (#1870)
This commit is contained in:
@@ -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 <>
|
||||
|
Reference in New Issue
Block a user