예제 #1
0
파일: Program.cs 프로젝트: MoFtZ/ILGPU
 /// <summary>
 /// A custom kernel using <see cref="XMath"/> functions.
 /// </summary>
 public static void KernelWithXMath(Index1D index, ArrayView <float> data, float c)
 {
     data[index] = XMath.Sinh(c + index) + XMath.Atan(c);
 }