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

#include <CL/sycl/kernel_bundle.hpp>

Collaboration diagram for cl::sycl::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 135 of file kernel_bundle.hpp.

Constructor & Destructor Documentation

◆ kernel_bundle_plain()

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

Definition at line 137 of file kernel_bundle.hpp.

Member Function Documentation

◆ begin()

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

Definition at line 75 of file kernel_bundle.cpp.

◆ contains_specialization_constants()

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

Definition at line 63 of file kernel_bundle.cpp.

◆ empty()

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

Definition at line 45 of file kernel_bundle.cpp.

◆ end()

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

Definition at line 79 of file kernel_bundle.cpp.

◆ get_backend()

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

Definition at line 47 of file kernel_bundle.cpp.

◆ get_context()

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

Definition at line 51 of file kernel_bundle.cpp.

◆ get_devices()

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

Definition at line 55 of file kernel_bundle.cpp.

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

◆ get_kernel()

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

Definition at line 71 of file kernel_bundle.cpp.

◆ get_kernel_ids()

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

Definition at line 59 of file kernel_bundle.cpp.

◆ get_specialization_constant_impl()

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

Definition at line 102 of file kernel_bundle.cpp.

◆ has_kernel() [1/2]

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

◆ has_kernel() [2/2]

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

Definition at line 87 of file kernel_bundle.cpp.

◆ has_specialization_constant_impl()

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

Definition at line 92 of file kernel_bundle.cpp.

◆ is_specialization_constant_set()

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

Definition at line 107 of file kernel_bundle.cpp.

◆ native_specialization_constant()

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

Definition at line 67 of file kernel_bundle.cpp.

◆ operator!=()

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

Definition at line 144 of file kernel_bundle.hpp.

◆ operator==()

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

Definition at line 140 of file kernel_bundle.hpp.

References impl.

◆ set_specialization_constant_impl()

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

Definition at line 97 of file kernel_bundle.cpp.

Member Data Documentation

◆ impl

detail::KernelBundleImplPtr cl::sycl::detail::kernel_bundle_plain::impl
protected

Definition at line 187 of file kernel_bundle.hpp.

Referenced by operator==().


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