DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::detail::device_image_plain Class Reference

#include <CL/sycl/kernel_bundle.hpp>

Inheritance diagram for cl::sycl::detail::device_image_plain:
Collaboration diagram for cl::sycl::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 >
T detail::createSyclObjFromImpl (decltype(T::impl) ImplObj)
 

Detailed Description

Definition at line 71 of file kernel_bundle.hpp.

Constructor & Destructor Documentation

◆ device_image_plain()

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

Definition at line 73 of file kernel_bundle.hpp.

Member Function Documentation

◆ detail::getSyclObjImpl()

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

◆ getNative()

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

Definition at line 37 of file kernel_bundle.cpp.

◆ has_kernel() [1/2]

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

Definition at line 28 of file kernel_bundle.cpp.

Referenced by cl::sycl::detail::kernel_bundle_plain::has_kernel().

◆ has_kernel() [2/2]

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

Definition at line 32 of file kernel_bundle.cpp.

◆ operator!=()

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

Definition at line 80 of file kernel_bundle.hpp.

◆ operator==()

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

Definition at line 76 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 cl::sycl::detail::device_image_plain::impl
protected

Definition at line 91 of file kernel_bundle.hpp.

Referenced by operator==().


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