public void Abs() { if (IsHalf) { throw new Exception("Does not work for fp16."); } GPU.Abs(GetDevice(Intent.Read), GetDevice(Intent.Write), ElementsReal); }