#include <sycl/ext/oneapi/device_global/device_global.hpp>
Public Types | |
using | element_type = std::remove_extent_t< T > |
Public Member Functions | |
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_v< RelayT >, RelayT > & | operator-> () noexcept |
template<class RelayT = T> | |
std::enable_if_t< detail::HasArrowOperator< RelayT >::value||std::is_pointer_v< RelayT >, const RelayT > & | operator-> () const noexcept |
Public Member Functions inherited from sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, detail::properties_t< Props... > > | |
device_global_base ()=default | |
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 | |
Protected Types inherited from sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, detail::properties_t< Props... > > | |
using | pointer_t = typename decorated_global_ptr< T >::pointer |
Protected Member Functions inherited from sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, detail::properties_t< Props... > > | |
pointer_t | get_ptr () noexcept |
pointer_t | get_ptr () const noexcept |
Protected Attributes inherited from sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, detail::properties_t< Props... > > | |
pointer_t | usmptr |
const T | init_val |
Definition at line 142 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 156 of file device_global.hpp.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 183 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.
|
inlinestaticconstexpr |
Definition at line 242 of file device_global.hpp.
|
inlinestaticconstexpr |
Definition at line 238 of file device_global.hpp.
|
inlinenoexcept |
Definition at line 193 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and sycl::_V1::ext::oneapi::experimental::get().
|
inlinenoexcept |
Definition at line 188 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and sycl::_V1::ext::oneapi::experimental::get().
|
inlinenoexcept |
Definition at line 233 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 224 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 198 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 215 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.
|
inlinenoexcept |
Definition at line 207 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED.