Skip to content

Commit

Permalink
Merge pull request #472 from dalg24/abort_header
Browse files Browse the repository at this point in the history
Document the new header `<Kokkos_Abort.hpp>`
  • Loading branch information
dalg24 authored Dec 6, 2023
2 parents f8f5783 + c2bf257 commit 896246a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/API/core/utilities/abort.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ Defined in header ``<Kokkos_Core.hpp>``
KOKKOS_FUNCTION void abort(const char *const msg);
Causes abnormal program termination with error explanatory string being printed.

Notes
-----

.. _KokkosAbort: https://github.com/kokkos/kokkos/blob/4.2.00/core/src/Kokkos_Abort.hpp

.. |KokkosAbort| replace:: ``<Kokkos_Abort.hpp>``

* Since version 4.2, one may include |KokkosAbort|_ instead of ``<Kokkos_Core.hpp>``.

0 comments on commit 896246a

Please sign in to comment.