private ValidateResult ( Array firstOp, Array result, string method = "" ) : void | ||
firstOp | Array | |
result | Array | |
method | string | |
return | void |
public void RunStructFldScenario(SimpleUnaryOpTest__RoundToNearestIntegerSingle testClass) { var result = Sse41.RoundToNearestInteger(_fld); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleUnaryOpTest__RoundToNearestIntegerSingle testClass) { fixed(Vector128 <Single> *pFld1 = &_fld1) { var result = Sse41.RoundToNearestInteger( Sse.LoadVector128((Single *)(pFld1)) ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); } }