Go to the documentation of this file.
24 #ifndef TILEDARRAY_CUDA_PLATFORM_H__INCLUDED
25 #define TILEDARRAY_CUDA_PLATFORM_H__INCLUDED
44 return static_cast<MemorySpace>(
static_cast<int>(space1) &
45 static_cast<int>(space2));
49 return static_cast<MemorySpace>(
static_cast<int>(space1) |
50 static_cast<int>(space2));
54 return (space1 & space2) != MemorySpace::Null;
65 #endif // TILEDARRAY_CUDA_PLATFORM_H__INCLUDED
ExecutionSpace
enumerates the execution spaces
constexpr bool overlap(MemorySpace space1, MemorySpace space2)
constexpr MemorySpace operator&(MemorySpace space1, MemorySpace space2)
constexpr MemorySpace operator|(MemorySpace space1, MemorySpace space2)
MemorySpace
enumerates the memory spaces