Removed unneeded initialization [skip ci]

This commit is contained in:
Andrew Kane
2024-04-08 14:15:34 -07:00
parent 21bcff6722
commit 862f17c1de

View File

@@ -42,7 +42,7 @@ HalfvecL2DistanceSquaredDefault(int dim, half * ax, half * bx)
TARGET_F16C_FMA static float TARGET_F16C_FMA static float
HalfvecL2DistanceSquaredF16cFma(int dim, half * ax, half * bx) HalfvecL2DistanceSquaredF16cFma(int dim, half * ax, half * bx)
{ {
float distance = 0.0; float distance;
int i; int i;
float s[8]; float s[8];
int count = (dim / 8) * 8; int count = (dim / 8) * 8;
@@ -90,7 +90,7 @@ HalfvecInnerProductDefault(int dim, half * ax, half * bx)
TARGET_F16C_FMA static float TARGET_F16C_FMA static float
HalfvecInnerProductF16cFma(int dim, half * ax, half * bx) HalfvecInnerProductF16cFma(int dim, half * ax, half * bx)
{ {
float distance = 0.0; float distance;
int i; int i;
float s[8]; float s[8];
int count = (dim / 8) * 8; int count = (dim / 8) * 8;