#include <sycl/ext/oneapi/device_global/device_global.hpp>
Public Types | |
using | element_type = std::remove_extent_t< T > |
Public Member Functions | |
device_global ()=default | |
device_global (const device_global &)=delete | |
device_global (const device_global &&)=delete | |
device_global & | operator= (const device_global &)=delete |
device_global & | operator= (const device_global &&)=delete |
T & | get () noexcept |
const T & | get () const noexcept |
operator T& () noexcept | |
operator const T & () const noexcept | |
device_global & | operator= (const T &newValue) noexcept |
template<class RelayT = T> | |
std::remove_reference_t< decltype(std::declval< RelayT >)[std::declval< std::ptrdiff_t >)])> & | operator[] (std::ptrdiff_t idx) noexcept |
template<class RelayT = T> | |
const std::remove_reference_t< decltype(std::declval< RelayT >)[std::declval< std::ptrdiff_t >)])> & | operator[] (std::ptrdiff_t idx) const noexcept |
template<class RelayT = T> | |
std::enable_if_t< detail::HasArrowOperator< RelayT >::value||std::is_pointer< RelayT >::value, RelayT > & | operator-> () noexcept |
template<class RelayT = T> | |
std::enable_if_t< detail::HasArrowOperator< RelayT >::value||std::is_pointer< RelayT >::value, const RelayT > & | operator-> () const noexcept |
![]() | |
multi_ptr< T, access::address_space::global_space, IsDecorated > | get_multi_ptr () noexcept |
multi_ptr< const T, access::address_space::global_space, IsDecorated > | get_multi_ptr () const noexcept |
Static Public Member Functions | |
template<typename propertyT > | |
static constexpr bool | has_property () |
template<typename propertyT > | |
static constexpr auto | get_property () |
Additional Inherited Members | |
![]() | |
using | pointer_t = typename decorated_global_ptr< T >::pointer |
![]() | |
pointer_t | get_ptr () noexcept |
const pointer_t | get_ptr () const noexcept |
![]() | |
pointer_t | usmptr |
Definition at line 117 of file device_global.hpp.
using sycl::_V1::ext::oneapi::experimental::device_global< T, detail::properties_t< Props... > >::element_type = std::remove_extent_t<T> |
Definition at line 130 of file device_global.hpp.
|
default |
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 154 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 149 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinestaticconstexpr |
Definition at line 213 of file device_global.hpp.
|
inlinestaticconstexpr |
Definition at line 209 of file device_global.hpp.
|
inlinenoexcept |
Definition at line 164 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and std::get().
|
inlinenoexcept |
Definition at line 159 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and std::get().
|
inlinenoexcept |
Definition at line 204 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 195 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 169 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 186 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 178 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.