1 write to idx
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
81
idx
= new int[IndexLength];
17 references to idx
Microsoft.ML.CpuMath.PerformanceTests (17)
AvxPerformanceTests.cs (4)
40
=> AvxIntrinsics.AddScaleSU(DefaultScale, src,
idx
, dst, IndexLength);
53
=> AvxIntrinsics.AddSU(src,
idx
, dst, IndexLength);
97
=> AvxIntrinsics.DotSU(src, dst,
idx
, IndexLength);
112
=> AvxIntrinsics.SdcaL1UpdateSU(DefaultScale, IndexLength, src,
idx
, DefaultScale, dst, result);
NativePerformanceTests.cs (4)
76
fixed (int* pidx =
idx
)
108
fixed (int* pidx =
idx
)
203
fixed (int* pidx =
idx
)
236
fixed (int* pidx =
idx
)
PerformanceTests.cs (1)
99
idx
[i] = rand.Next(0, Length);
SmallInputCpuMathPerformanceTests.cs (4)
37
=> CpuMathUtils.AddScale(DefaultScale, src,
idx
, dst, arrayLength);
49
=> CpuMathUtils.Add(src,
idx
, dst, arrayLength);
89
=> CpuMathUtils.DotProductSparse(src, dst,
idx
, arrayLength);
101
=> CpuMathUtils.SdcaL1UpdateSparse(DefaultScale, arrayLength, src,
idx
, DefaultScale, dst, result);
SsePerformanceTests.cs (4)
35
=> SseIntrinsics.AddScaleSU(DefaultScale, src,
idx
, dst, IndexLength);
47
=> SseIntrinsics.AddSU(src,
idx
, dst, IndexLength);
87
=> SseIntrinsics.DotSU(src, dst,
idx
, IndexLength);
99
=> SseIntrinsics.SdcaL1UpdateSU(DefaultScale, IndexLength, src,
idx
, DefaultScale, dst, result);