Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Kokkos::ScopeGuard Class Reference

ScopeGuard Some user scope issues have been identified with some Kokkos::finalize calls; ScopeGuard aims to correct these issues. More...

#include <Kokkos_Core.hpp>

Detailed Description

ScopeGuard Some user scope issues have been identified with some Kokkos::finalize calls; ScopeGuard aims to correct these issues.

Two requirements for ScopeGuard: if Kokkos::is_initialized() in the constructor, don't call Kokkos::initialize or Kokkos::finalize it is not copyable or assignable

Definition at line 225 of file Kokkos_Core.hpp.


The documentation for this class was generated from the following file: