DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::device_image_plain Class Reference

#include <sycl/kernel_bundle.hpp>

Inheritance diagram for sycl::_V1::detail::device_image_plain:
Collaboration diagram for sycl::_V1::detail::device_image_plain:

Public Member Functions

 device_image_plain (const detail::DeviceImageImplPtr &Impl)
 
bool operator== (const device_image_plain &RHS) const
 
bool operator!= (const device_image_plain &RHS) const
 
bool has_kernel (const kernel_id &KernelID) const noexcept
 
bool has_kernel (const kernel_id &KernelID, const device &Dev) const noexcept
 
pi_native_handle getNative () const
 

Protected Member Functions

template<class Obj >
decltype(Obj::impl) friend detail::getSyclObjImpl (const Obj &SyclObject)
 

Protected Attributes

detail::DeviceImageImplPtr impl
 

Friends

template<class T >
detail::createSyclObjFromImpl (decltype(T::impl) ImplObj)
 

Detailed Description

Definition at line 74 of file kernel_bundle.hpp.

Constructor & Destructor Documentation

◆ device_image_plain()

sycl::_V1::detail::device_image_plain::device_image_plain ( const detail::DeviceImageImplPtr Impl)
inline

Definition at line 76 of file kernel_bundle.hpp.

Member Function Documentation

◆ detail::getSyclObjImpl()

template<class Obj >
decltype(Obj::impl) friend sycl::_V1::detail::device_image_plain::detail::getSyclObjImpl ( const Obj &  SyclObject)
protected

◆ getNative()

pi_native_handle sycl::_V1::detail::device_image_plain::getNative ( ) const

Definition at line 38 of file kernel_bundle.cpp.

◆ has_kernel() [1/2]

bool sycl::_V1::detail::device_image_plain::has_kernel ( const kernel_id KernelID) const
noexcept

◆ has_kernel() [2/2]

bool sycl::_V1::detail::device_image_plain::has_kernel ( const kernel_id KernelID,
const device Dev 
) const
noexcept

Definition at line 33 of file kernel_bundle.cpp.

◆ operator!=()

bool sycl::_V1::detail::device_image_plain::operator!= ( const device_image_plain RHS) const
inline

Definition at line 83 of file kernel_bundle.hpp.

◆ operator==()

bool sycl::_V1::detail::device_image_plain::operator== ( const device_image_plain RHS) const
inline

Definition at line 79 of file kernel_bundle.hpp.

References impl.

Friends And Related Function Documentation

◆ detail::createSyclObjFromImpl

template<class T >
T detail::createSyclObjFromImpl ( decltype(T::impl)  ImplObj)
friend

Member Data Documentation

◆ impl

detail::DeviceImageImplPtr sycl::_V1::detail::device_image_plain::impl
protected

Definition at line 94 of file kernel_bundle.hpp.

Referenced by operator==().


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