Esempio n. 1
0
        public static void kernel_V_Exp(Index pos, ArrayView <float> output, ArrayView <float> arr)
        {
            int x = pos.X;

            output[x] = GPUMath.Exp(arr[x]);
        }
        public static void _V_Exp(Index size, ArrayView <float> output, ArrayView <float> v)
        {
            int x = size.X;

            output[x] = GPUMath.Exp(v[x]);
        }