1 write to testMatrixAligned
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
107
testMatrixAligned
= new AlignedArray(matrixLength * matrixLength, align);
13 references to testMatrixAligned
Microsoft.ML.CpuMath.PerformanceTests (13)
AvxPerformanceTests.cs (3)
117
=> AvxIntrinsics.MatMul(
testMatrixAligned
, testSrcVectorAligned, testDstVectorAligned, matrixLength, matrixLength);
121
=> AvxIntrinsics.MatMulTran(
testMatrixAligned
, testSrcVectorAligned, testDstVectorAligned, matrixLength, matrixLength);
126
=> AvxIntrinsics.MatMulP(
testMatrixAligned
, matrixIdx, testSrcVectorAligned, 0, 0, MatrixIndexLength, testDstVectorAligned, matrixLength, matrixLength);
NativePerformanceTests.cs (6)
245
fixed (float* pmat = &
testMatrixAligned
.Items[0])
248
Thunk.MatMul(Ptr(
testMatrixAligned
, pmat), Ptr(testSrcVectorAligned, psrc), Ptr(testDstVectorAligned, pdst), matrixLength, testSrcVectorAligned.Size);
254
fixed (float* pmat = &
testMatrixAligned
.Items[0])
257
Thunk.MatMulTran(Ptr(
testMatrixAligned
, pmat), Ptr(testSrcVectorAligned, psrc), Ptr(testDstVectorAligned, pdst), testDstVectorAligned.Size, matrixLength);
263
fixed (float* pmat = &
testMatrixAligned
.Items[0])
267
Thunk.MatMulP(Ptr(
testMatrixAligned
, pmat), ppossrc, Ptr(testSrcVectorAligned, psrc), 0, 0, MatrixIndexLength, Ptr(testDstVectorAligned, pdst), matrixLength, testSrcVectorAligned.Size);
PerformanceTests.cs (1)
108
testMatrixAligned
.CopyFrom(src.AsSpan(0, (matrixLength - 1) * (matrixLength - 1)));
SsePerformanceTests.cs (3)
103
=> SseIntrinsics.MatMul(
testMatrixAligned
, testSrcVectorAligned, testDstVectorAligned, matrixLength, matrixLength);
107
=> SseIntrinsics.MatMulTran(
testMatrixAligned
, testSrcVectorAligned, testDstVectorAligned, matrixLength, matrixLength);
111
=> SseIntrinsics.MatMulP(
testMatrixAligned
, matrixIdx, testSrcVectorAligned, 0, 0, MatrixIndexLength, testDstVectorAligned, matrixLength, matrixLength);