mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Fix a wrong assignment that causing mlas benchmark to crash (#22221)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Signed-off-by: Liqun Fu <liqfu@microsoft.com>
This commit is contained in:
parent
4d6019fa02
commit
72b0979e8a
1 changed files with 2 additions and 1 deletions
|
|
@ -80,9 +80,10 @@ void RunSQNBitGemmBenchmark(size_t BlkLen,
|
|||
params.A = A.data();
|
||||
params.lda = K;
|
||||
if (PackedQuantBData != nullptr)
|
||||
params.QuantBDataWorkspace = static_cast<const void*>(PackedQuantBData.get());
|
||||
params.PackedQuantBData = PackedQuantBData.get();
|
||||
else
|
||||
params.QuantBDataWorkspace = static_cast<const void*>(QuantBData.data());
|
||||
|
||||
params.QuantBScale = QuantBScale.data();
|
||||
params.QuantBZeroPoint = Symmetric ? nullptr : QuantBZeroPoint.data();
|
||||
params.Bias = HasBias ? Bias.data() : nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue