Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/source/API/batched/dense-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ API: Batched Dense (DLA)
dense/batched_pbtrs
dense/batched_pttrf
dense/batched_pttrs
dense/batched_lacgv

Our implementation of batched dense linear algebra (DLA) allows user to compose various batched DLA operations.
For example, consider a case where small element matrices are created via `gemm` and those matrices are triangular solved by `lu` and `trsv`.
Expand Down Expand Up @@ -364,7 +365,7 @@ Below are tables summarizing the currently supported function calls in Kokkos Ke
- --
- --
* - lacgv
- `SerialLacgv`
- :doc:`SerialLacgv <dense/batched_lacgv>`
- --
- --
* - laswp
Expand Down
35 changes: 35 additions & 0 deletions docs/source/API/batched/dense/batched_lacgv.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
KokkosBatched::Lacgv
####################

Defined in header: :code:`KokkosBatched_Lacgv.hpp`

.. code:: c++

struct SerialLacgv {
template <typename XViewType>
KOKKOS_INLINE_FUNCTION static int invoke(const XViewType &x);
};

Conjugates the elements of a complex vector :math:`x`. No operation is performed if :math:`x` is real.

Parameters
==========

:x: :math:`x` is a length n vector.

Type Requirements
-----------------

- ``XViewType`` must be a Kokkos `View <https://kokkos.org/kokkos-core-wiki/API/core/view/view.html>`_ of rank 1 representing the vector :math:`x`

Example
=======

.. literalinclude:: ../../../../../example/batched_solve/serial_lacgv.cpp
:language: c++

output:

.. code::

lacgv works correctly!
Loading