60 references to DefaultScale
Microsoft.ML.CpuMath.PerformanceTests (60)
AvxPerformanceTests.cs (15)
18=> AvxIntrinsics.AddScalarU(DefaultScale, new Span<float>(dst, 0, Length)); 22=> AvxIntrinsics.Scale(DefaultScale, new Span<float>(dst, 0, Length)); 26=> AvxIntrinsics.ScaleSrcU(DefaultScale, src, dst, Length); 30=> AvxIntrinsics.ScaleAddU(DefaultScale, DefaultScale, new Span<float>(dst, 0, Length)); 35=> AvxIntrinsics.AddScaleU(DefaultScale, src, dst, Length); 40=> AvxIntrinsics.AddScaleSU(DefaultScale, src, idx, dst, IndexLength); 45=> AvxIntrinsics.AddScaleCopyU(DefaultScale, src, dst, result, Length); 71=> AvxIntrinsics.SumSqDiffU(DefaultScale, new Span<float>(src, 0, Length)); 79=> AvxIntrinsics.SumAbsDiffU(DefaultScale, new Span<float>(src, 0, Length)); 87=> AvxIntrinsics.MaxAbsDiffU(DefaultScale, new Span<float>(src, 0, Length)); 107=> AvxIntrinsics.SdcaL1UpdateU(DefaultScale, Length, src, DefaultScale, dst, result); 112=> AvxIntrinsics.SdcaL1UpdateSU(DefaultScale, IndexLength, src, idx, DefaultScale, dst, result);
NativePerformanceTests.cs (15)
29Thunk.AddScalarU(DefaultScale, pdst, Length); 38Thunk.Scale(DefaultScale, pdst, Length); 48Thunk.ScaleSrcU(DefaultScale, psrc, pdst, Length); 57Thunk.ScaleAddU(DefaultScale, DefaultScale, pdst, Length); 67Thunk.AddScaleU(DefaultScale, psrc, pdst, Length); 78Thunk.AddScaleSU(DefaultScale, psrc, pidx, pdst, IndexLength); 89Thunk.AddScaleCopyU(DefaultScale, psrc, pdst, pres, Length); 148return Thunk.SumSqDiffU(DefaultScale, psrc, Length); 166return Thunk.SumAbsDiffU(DefaultScale, psrc, Length); 184return Thunk.MaxAbsDiffU(DefaultScale, psrc, Length); 226Thunk.SdcaL1UpdateU(DefaultScale, psrc, DefaultScale, pdst, pres, Length); 238Thunk.SdcaL1UpdateSU(DefaultScale, psrc, pidx, DefaultScale, pdst, pres, IndexLength);
SmallInputCpuMathPerformanceTests.cs (15)
17=> CpuMathUtils.Add(DefaultScale, dst.AsSpan(0, arrayLength)); 21=> CpuMathUtils.Scale(DefaultScale, dst.AsSpan(0, arrayLength)); 25=> CpuMathUtils.Scale(DefaultScale, src, dst, arrayLength); 29=> CpuMathUtils.ScaleAdd(DefaultScale, DefaultScale, dst.AsSpan(0, arrayLength)); 33=> CpuMathUtils.AddScale(DefaultScale, src, dst, arrayLength); 37=> CpuMathUtils.AddScale(DefaultScale, src, idx, dst, arrayLength); 41=> CpuMathUtils.AddScaleCopy(DefaultScale, src, dst, result, arrayLength); 65=> CpuMathUtils.SumSq(DefaultScale, src.AsSpan(0, arrayLength)); 73=> CpuMathUtils.SumAbs(DefaultScale, src.AsSpan(0, arrayLength)); 81=> CpuMathUtils.MaxAbsDiff(DefaultScale, src.AsSpan(0, arrayLength)); 97=> CpuMathUtils.SdcaL1UpdateDense(DefaultScale, arrayLength, src, DefaultScale, dst, result); 101=> CpuMathUtils.SdcaL1UpdateSparse(DefaultScale, arrayLength, src, idx, DefaultScale, dst, result);
SsePerformanceTests.cs (15)
15=> SseIntrinsics.AddScalarU(DefaultScale, new Span<float>(dst, 0, Length)); 19=> SseIntrinsics.Scale(DefaultScale, new Span<float>(dst, 0, Length)); 23=> SseIntrinsics.ScaleSrcU(DefaultScale, src, dst, Length); 27=> SseIntrinsics.ScaleAddU(DefaultScale, DefaultScale, new Span<float>(dst, 0, Length)); 31=> SseIntrinsics.AddScaleU(DefaultScale, src, dst, Length); 35=> SseIntrinsics.AddScaleSU(DefaultScale, src, idx, dst, IndexLength); 39=> SseIntrinsics.AddScaleCopyU(DefaultScale, src, dst, result, Length); 63=> SseIntrinsics.SumSqDiffU(DefaultScale, new Span<float>(src, 0, Length)); 71=> SseIntrinsics.SumAbsDiffU(DefaultScale, new Span<float>(src, 0, Length)); 79=> SseIntrinsics.MaxAbsDiffU(DefaultScale, new Span<float>(src, 0, Length)); 95=> SseIntrinsics.SdcaL1UpdateU(DefaultScale, Length, src, DefaultScale, dst, result); 99=> SseIntrinsics.SdcaL1UpdateSU(DefaultScale, IndexLength, src, idx, DefaultScale, dst, result);