Kokkos Core Kernels Package Version of the Day
Loading...
Searching...
No Matches
Classes | Functions | Variables
Kokkos::Impl Namespace Reference

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

Classes

struct  FunctorPolicyExecutionSpace
 Given a Functor and Execution Policy query an execution space. More...
 
struct  MemorySpaceAccess
 Access relationship between DstMemorySpace and SrcMemorySpace. More...
 
class  ParallelFor
 Implementation of the ParallelFor operator that has a partial specialization for the device. More...
 
class  ParallelReduce
 Implementation detail of parallel_reduce. More...
 
class  ParallelScan
 Implementation detail of parallel_scan. More...
 
struct  ViewToDynRankViewTag
 Assign compatible default mappings. More...
 

Functions

template<unsigned , typename iType0 , class MapType >
KOKKOS_INLINE_FUNCTION bool dyn_rank_view_verify_operator_bounds (const iType0 &, const MapType &)
 Debug bounds-checking routines.
 

Variables

static constexpr unsigned MEMORY_ALIGNMENT = 64
 Memory alignment settings.
 

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

Function Documentation

◆ dyn_rank_view_verify_operator_bounds()

KOKKOS_INLINE_FUNCTION bool Kokkos::Impl::dyn_rank_view_verify_operator_bounds ( const iType0 ,
const MapType  
)

Debug bounds-checking routines.

Definition at line 257 of file Kokkos_DynRankView.hpp.

Variable Documentation

◆ MEMORY_ALIGNMENT

constexpr unsigned Kokkos::Impl::MEMORY_ALIGNMENT = 64
staticconstexpr

Memory alignment settings.

Sets global value for memory alignment. Must be a power of two! Enable compatibility of views from different devices with static stride. Use compiler flag to enable overwrites.

Definition at line 98 of file Kokkos_MemoryTraits.hpp.