Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 428 Bytes

File metadata and controls

19 lines (13 loc) · 428 Bytes

clone

Clone one or more dimensions of an operator to a higher rank

.. doxygenfunction:: clone(Op t, const index_t (&shape)[Rank])
.. doxygenfunction:: clone(Op t, const std::array<index_t, Rank> &shape)

Examples

.. literalinclude:: ../../../../test/00_operators/clone_test.cu
   :language: cpp
   :start-after: example-begin clone-test-1
   :end-before: example-end clone-test-1
   :dedent: