libSCALE  0.2.0
A modern C++ CUDA API
sp::add_addrspace< T, AS > Struct Template Reference

Add an address space qualifier to a type. More...

#include <Addrspace.hpp>

Public Types

using type = std::conditional_t< std::is_reference_v< T >, T, __AS(AS) T >
 

Detailed Description

template<typename T, AddressSpace AS>
struct sp::add_addrspace< T, AS >

Add an address space qualifier to a type.