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