예제 #1
0
 public unsafe void NativeAddScaleSUPerf()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     fixed(int *pidx   = idx)
     {
         CpuMathNativeUtils.AddScaleSU(DEFAULT_SCALE, psrc, pidx, pdst, IDXLEN);
     }
 }
예제 #2
0
 public unsafe void AddScaleSU()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     fixed(int *pidx   = idx)
     {
         CpuMathNativeUtils.AddScaleSU(DefaultScale, psrc, pidx, pdst, IndexLength);
     }
 }