public unsafe void NativeSdcaL1UpdateSUPerf() { fixed(float *psrc = src) fixed(float *pdst = dst) fixed(float *pres = result) fixed(int *pidx = idx) { CpuMathNativeUtils.SdcaL1UpdateSU(DEFAULT_SCALE, psrc, pidx, DEFAULT_SCALE, pdst, pres, IDXLEN); } }
public unsafe void SdcaL1UpdateSU() { fixed(float *psrc = src) fixed(float *pdst = dst) fixed(float *pres = result) fixed(int *pidx = idx) { CpuMathNativeUtils.SdcaL1UpdateSU(DefaultScale, psrc, pidx, DefaultScale, pdst, pres, IndexLength); } }