28 references to GetVectorAlignment
Microsoft.ML.CpuMath (2)
CpuAligenedMathUtils.cs (2)
22
Contracts.Assert((mat.Items.CbAlign % CpuMathUtils.
GetVectorAlignment
()) == 0);
35
Contracts.Assert((vec.Items.CbAlign % CpuMathUtils.
GetVectorAlignment
()) == 0);
Microsoft.ML.CpuMath.UnitTests (1)
UnitTests.cs (1)
27
private static readonly int _vectorAlignment = CpuMathUtils.
GetVectorAlignment
();
Microsoft.ML.TimeSeries (16)
AdaptiveSingularSpectrumSequenceModeler.cs (16)
272
_x = new CpuAlignedVector(windowSize, CpuMathUtils.
GetVectorAlignment
());
273
_xSmooth = new CpuAlignedVector(windowSize, CpuMathUtils.
GetVectorAlignment
());
327
_x = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
328
_xSmooth = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
332
_y = new CpuAlignedVector(_rank, CpuMathUtils.
GetVectorAlignment
());
333
_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.
GetVectorAlignment
());
434
_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.
GetVectorAlignment
());
439
_y = new CpuAlignedVector(_rank, CpuMathUtils.
GetVectorAlignment
());
444
_x = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
445
_xSmooth = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
1112
_y = new CpuAlignedVector(_rank, CpuMathUtils.
GetVectorAlignment
());
1113
_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.
GetVectorAlignment
());
1294
_x = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
1295
_xSmooth = new CpuAlignedVector(_windowSize, CpuMathUtils.
GetVectorAlignment
());
1332
_y = new CpuAlignedVector(_rank, CpuMathUtils.
GetVectorAlignment
());
1335
_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.
GetVectorAlignment
());
Microsoft.ML.Transforms (9)
RandomFourierFeaturizing.cs (9)
124
RndFourierVectors = new AlignedArray(roundedUpD * roundedUpNumFeatures, CpuMathUtils.
GetVectorAlignment
());
125
RotationTerms = _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.
GetVectorAlignment
());
158
RndFourierVectors = new AlignedArray(roundedUpD * roundedUpNumFeatures, CpuMathUtils.
GetVectorAlignment
());
159
RotationTerms = _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.
GetVectorAlignment
());
227
private static readonly int _cfltAlign = CpuMathUtils.
GetVectorAlignment
() / sizeof(float);
517
var featuresAligned = new AlignedArray(RoundUp(_srcTypes[iinfo].GetValueCount(), _cfltAlign), CpuMathUtils.
GetVectorAlignment
());
518
var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.
GetVectorAlignment
());
534
var featuresAligned = new AlignedArray(RoundUp(1, _cfltAlign), CpuMathUtils.
GetVectorAlignment
());
535
var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.
GetVectorAlignment
());