cupyx.zeros_pinned#
- cupyx.zeros_pinned(shape, dtype=<class 'float'>, order='C')[source]#
Returns a new, zero-initialized NumPy array with the given shape and dtype.
This is a convenience function which is just
numpy.zeros()
, except that the underlying memory is pinned/pagelocked.- Parameters
- Returns
An array filled with zeros.
- Return type
See also