Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | List of all members
Kokkos::Impl::MemorySpaceAccess< DstMemorySpace, SrcMemorySpace > Struct Template Reference

Access relationship between DstMemorySpace and SrcMemorySpace. More...

#include <Kokkos_Concepts.hpp>

Public Types

enum  
 Can a View (or pointer) to memory in SrcMemorySpace be assigned to a View (or pointer) to memory marked DstMemorySpace. More...
 
enum  
 For all DstExecSpace::memory_space == DstMemorySpace DstExecSpace can access SrcMemorySpace. More...
 
enum  
 Does a DeepCopy capability exist to DstMemorySpace from SrcMemorySpace. More...
 

Detailed Description

template<typename DstMemorySpace, typename SrcMemorySpace>
struct Kokkos::Impl::MemorySpaceAccess< DstMemorySpace, SrcMemorySpace >

Access relationship between DstMemorySpace and SrcMemorySpace.

The default case can assume accessibility for the same space. Specializations must be defined for different memory spaces.

Definition at line 385 of file Kokkos_Concepts.hpp.

Member Enumeration Documentation

template<typename DstMemorySpace , typename SrcMemorySpace >
anonymous enum

Can a View (or pointer) to memory in SrcMemorySpace be assigned to a View (or pointer) to memory marked DstMemorySpace.

  1. DstMemorySpace::execution_space == SrcMemorySpace::execution_space
  2. All execution spaces that can access DstMemorySpace can also access SrcMemorySpace.

Definition at line 397 of file Kokkos_Concepts.hpp.

template<typename DstMemorySpace , typename SrcMemorySpace >
anonymous enum

For all DstExecSpace::memory_space == DstMemorySpace DstExecSpace can access SrcMemorySpace.

Definition at line 402 of file Kokkos_Concepts.hpp.

template<typename DstMemorySpace , typename SrcMemorySpace >
anonymous enum

Does a DeepCopy capability exist to DstMemorySpace from SrcMemorySpace.

Definition at line 407 of file Kokkos_Concepts.hpp.


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