a (array) -- Input array.
b (array) -- Input array.
upper (bool, optional) -- Whether the array is upper or lower
triangular. Default: False.
stream (Stream, optional) -- Stream or device. Defaults to None
in which case the default stream of the default device is used.