#include <sycl/ext/oneapi/device_global/device_global.hpp>
Public Member Functions | |
device_global_base ()=default | |
template<access::decorated IsDecorated> | |
multi_ptr< T, access::address_space::global_space, IsDecorated > | get_multi_ptr () noexcept |
template<access::decorated IsDecorated> | |
multi_ptr< const T, access::address_space::global_space, IsDecorated > | get_multi_ptr () const noexcept |
Protected Types | |
using | pointer_t = typename decorated_global_ptr< T >::pointer |
Protected Member Functions | |
pointer_t | get_ptr () noexcept |
pointer_t | get_ptr () const noexcept |
Protected Attributes | |
pointer_t | usmptr {} |
const T | init_val {} |
Definition at line 54 of file device_global.hpp.
|
protected |
Definition at line 56 of file device_global.hpp.
|
default |
|
inlinenoexcept |
Definition at line 84 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::get_ptr().
|
inlinenoexcept |
Definition at line 76 of file device_global.hpp.
References __SYCL_HOST_NOT_SUPPORTED, and sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::get_ptr().
|
inlineprotectednoexcept |
Definition at line 64 of file device_global.hpp.
References sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::usmptr.
|
inlineprotectednoexcept |
Definition at line 63 of file device_global.hpp.
References sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::usmptr.
Referenced by sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::get_multi_ptr(), and sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, properties_t< Props... >, std::enable_if_t< properties_t< Props... >::template has_property< device_image_scope_key >()> >::get_multi_ptr().
|
protected |
Definition at line 61 of file device_global.hpp.
|
mutableprotected |
Definition at line 60 of file device_global.hpp.
Referenced by sycl::_V1::ext::oneapi::experimental::detail::device_global_base< T, PropertyListT, typename >::get_ptr().