.. note::

    When using the CUDA backend, this operation may induce nondeterministic
    behaviour that is not easily switched off.
    Please see the notes on :doc:`/notes/randomness` for background.
