The GPU buffer a routine reads an operand from: a GpuVector's or
GpuMatrix's own, or else the host array uploaded into a new one, which
the caller destroys when done (see uploadBuffer).
Tells the two apart by ArrayBuffer.isView (true for every typed array)
rather than instanceof, since the GPU classes import this module.
The GPU buffer a routine reads an operand from: a
GpuVector's orGpuMatrix's own, or else the host array uploaded into a new one, which the caller destroys when done (see uploadBuffer).Tells the two apart by
ArrayBuffer.isView(true for every typed array) rather thaninstanceof, since the GPU classes import this module.