Commit d873ea6e authored by Berenger Bramas's avatar Berenger Bramas

Update example -- use 0. instead of 0 to ensure call to the correct constructor

parent 3c2043e4
......@@ -620,7 +620,7 @@ void ScalarGemmIna(const RealType* __restrict__ A, const RealType* __restrict__
for(size_t idxRow = 0 ; idxRow < BlockSize ; ++idxRow){
for(size_t idxCol = 0 ; idxCol < BlockSize ; ++idxCol){
VecType sum = 0;
VecType sum = 0.;
for(size_t idxK = 0 ; idxK < PanelSizeK ; idxK += BlockSize){
sum += VecType(&panelA[(idxRow+ib)*PanelSizeK+ idxK])
* VecType(&panelB[idxCol*PanelSizeK+ idxK]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment