public unsafe void NativeAddScaleUPerf()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         CpuMathNativeUtils.AddScaleU(DEFAULT_SCALE, psrc, pdst, LEN);
     }
 }
示例#2
0
 public unsafe void AddScaleU()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         CpuMathNativeUtils.AddScaleU(DefaultScale, psrc, pdst, Length);
     }
 }