コード例 #1
0
ファイル: Image.cs プロジェクト: bHimes/warp
        public void Abs()
        {
            if (IsHalf)
            {
                throw new Exception("Does not work for fp16.");
            }

            GPU.Abs(GetDevice(Intent.Read), GetDevice(Intent.Write), ElementsReal);
        }