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

#include <sycl/kernel_bundle.hpp>

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

Public Member Functions

 kernel_bundle_plain (const detail::KernelBundleImplPtr &Impl)
 
bool operator== (const kernel_bundle_plain &RHS) const
 
bool operator!= (const kernel_bundle_plain &RHS) const
 
bool empty () const noexcept
 
backend get_backend () const noexcept
 
context get_context () const noexcept
 
std::vector< deviceget_devices () const noexcept
 
bool has_kernel (const kernel_id &KernelID) const noexcept
 
bool has_kernel (const kernel_id &KernelID, const device &Dev) const noexcept
 
std::vector< kernel_idget_kernel_ids () const
 
bool contains_specialization_constants () const noexcept
 
bool native_specialization_constant () const noexcept
 

Protected Member Functions

kernel get_kernel (const kernel_id &KernelID) const
 
const device_image_plainbegin () const
 
const device_image_plainend () const
 
bool has_specialization_constant_impl (const char *SpecName) const noexcept
 
void set_specialization_constant_impl (const char *SpecName, void *Value, size_t Size) noexcept
 
void get_specialization_constant_impl (const char *SpecName, void *Value) const noexcept
 
bool is_specialization_constant_set (const char *SpecName) const noexcept
 

Protected Attributes

detail::KernelBundleImplPtr impl
 

Detailed Description

Definition at line 139 of file kernel_bundle.hpp.

Constructor & Destructor Documentation

◆ kernel_bundle_plain()

sycl::_V1::detail::kernel_bundle_plain::kernel_bundle_plain ( const detail::KernelBundleImplPtr Impl)
inline

Definition at line 141 of file kernel_bundle.hpp.

Member Function Documentation

◆ begin()

const device_image_plain * sycl::_V1::detail::kernel_bundle_plain::begin ( ) const
protected

Definition at line 76 of file kernel_bundle.cpp.

◆ contains_specialization_constants()

bool sycl::_V1::detail::kernel_bundle_plain::contains_specialization_constants ( ) const
noexcept

Definition at line 64 of file kernel_bundle.cpp.

◆ empty()

bool sycl::_V1::detail::kernel_bundle_plain::empty ( ) const
noexcept

Definition at line 46 of file kernel_bundle.cpp.

◆ end()

const device_image_plain * sycl::_V1::detail::kernel_bundle_plain::end ( ) const
protected

Definition at line 80 of file kernel_bundle.cpp.

◆ get_backend()

backend sycl::_V1::detail::kernel_bundle_plain::get_backend ( ) const
noexcept

Definition at line 48 of file kernel_bundle.cpp.

◆ get_context()

context sycl::_V1::detail::kernel_bundle_plain::get_context ( ) const
noexcept

Definition at line 52 of file kernel_bundle.cpp.

◆ get_devices()

std::vector< device > sycl::_V1::detail::kernel_bundle_plain::get_devices ( ) const
noexcept

Definition at line 56 of file kernel_bundle.cpp.

References sycl::_V1::context::get_devices().

◆ get_kernel()

kernel sycl::_V1::detail::kernel_bundle_plain::get_kernel ( const kernel_id KernelID) const
protected

Definition at line 72 of file kernel_bundle.cpp.

◆ get_kernel_ids()

std::vector< kernel_id > sycl::_V1::detail::kernel_bundle_plain::get_kernel_ids ( ) const

Definition at line 60 of file kernel_bundle.cpp.

◆ get_specialization_constant_impl()

void sycl::_V1::detail::kernel_bundle_plain::get_specialization_constant_impl ( const char *  SpecName,
void *  Value 
) const
protectednoexcept

Definition at line 103 of file kernel_bundle.cpp.

◆ has_kernel() [1/2]

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

◆ has_kernel() [2/2]

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

Definition at line 88 of file kernel_bundle.cpp.

◆ has_specialization_constant_impl()

bool sycl::_V1::detail::kernel_bundle_plain::has_specialization_constant_impl ( const char *  SpecName) const
protectednoexcept

Definition at line 93 of file kernel_bundle.cpp.

◆ is_specialization_constant_set()

bool sycl::_V1::detail::kernel_bundle_plain::is_specialization_constant_set ( const char *  SpecName) const
protectednoexcept

Definition at line 108 of file kernel_bundle.cpp.

◆ native_specialization_constant()

bool sycl::_V1::detail::kernel_bundle_plain::native_specialization_constant ( ) const
noexcept

Definition at line 68 of file kernel_bundle.cpp.

◆ operator!=()

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

Definition at line 148 of file kernel_bundle.hpp.

◆ operator==()

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

Definition at line 144 of file kernel_bundle.hpp.

References impl.

◆ set_specialization_constant_impl()

void sycl::_V1::detail::kernel_bundle_plain::set_specialization_constant_impl ( const char *  SpecName,
void *  Value,
size_t  Size 
)
protectednoexcept

Definition at line 98 of file kernel_bundle.cpp.

Member Data Documentation

◆ impl

detail::KernelBundleImplPtr sycl::_V1::detail::kernel_bundle_plain::impl
protected

Definition at line 191 of file kernel_bundle.hpp.

Referenced by operator==().


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