DPC++ Runtime
Runtime libraries for oneAPI DPC++
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 >()> > Class Template Reference

#include <sycl/ext/oneapi/device_global/device_global.hpp>

Collaboration diagram for 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 >()> >:

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 Member Functions

T * get_ptr () noexcept
 
const T * get_ptr () const noexcept
 

Protected Attributes

val {}
 

Detailed Description

template<typename T, typename... Props>
class 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 >()> >

Definition at line 94 of file device_global.hpp.

Constructor & Destructor Documentation

◆ device_global_base()

template<typename T , typename... Props>
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 >()> >::device_global_base ( )
default

Member Function Documentation

◆ get_multi_ptr() [1/2]

template<typename T , typename... Props>
template<access::decorated IsDecorated>
multi_ptr<const T, access::address_space::global_space, IsDecorated> 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 ( ) const
inlinenoexcept

◆ get_multi_ptr() [2/2]

template<typename T , typename... Props>
template<access::decorated IsDecorated>
multi_ptr<T, access::address_space::global_space, IsDecorated> 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 ( )
inlinenoexcept

◆ get_ptr() [1/2]

template<typename T , typename... Props>
const T* 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_ptr ( ) const
inlineprotectednoexcept

Definition at line 101 of file device_global.hpp.

◆ get_ptr() [2/2]

template<typename T , typename... Props>
T* 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_ptr ( )
inlineprotectednoexcept

Definition at line 100 of file device_global.hpp.

Member Data Documentation

◆ val

template<typename T , typename... Props>
T 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 >()> >::val {}
protected

Definition at line 99 of file device_global.hpp.


The documentation for this class was generated from the following file: