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::SpaceAccessibility< AccessSpace, MemorySpace > Struct Template Reference

Can AccessSpace access MemorySpace ? More...

#include <Kokkos_Concepts.hpp>

Public Types

enum  
 Can AccessSpace::execution_space access MemorySpace ? More...
 
enum  
 Can assign to AccessSpace from MemorySpace ? More...
 
enum  
 Can deep copy to AccessSpace::memory_Space from MemorySpace ? More...
 

Detailed Description

template<typename AccessSpace, typename MemorySpace>
struct Kokkos::SpaceAccessibility< AccessSpace, MemorySpace >

Can AccessSpace access MemorySpace ?

Requires: Kokkos::is_space< AccessSpace >::value Kokkos::is_memory_space< MemorySpace >::value

Can AccessSpace::execution_space access MemorySpace ? enum : bool { accessible };

Is View<AccessSpace::memory_space> assignable from View<MemorySpace> ? enum : bool { assignable };

If ! accessible then through which intercessory memory space should a be used to deep copy memory for AccessSpace::execution_space to get access. When AccessSpace::memory_space == Kokkos::HostSpace then space is the View host mirror space.

Definition at line 435 of file Kokkos_Concepts.hpp.

Member Enumeration Documentation

template<typename AccessSpace , typename MemorySpace >
anonymous enum

Can AccessSpace::execution_space access MemorySpace ?

Default based upon memory space accessibility. Specialization required for other relationships.

Definition at line 464 of file Kokkos_Concepts.hpp.

template<typename AccessSpace , typename MemorySpace >
anonymous enum

Can assign to AccessSpace from MemorySpace ?

Default based upon memory space accessibility. Specialization required for other relationships.

Definition at line 471 of file Kokkos_Concepts.hpp.

template<typename AccessSpace , typename MemorySpace >
anonymous enum

Can deep copy to AccessSpace::memory_Space from MemorySpace ?

Definition at line 476 of file Kokkos_Concepts.hpp.


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