The kernel_bundle class represents collection of device images in a particular state. More...
#include <CL/sycl/kernel.hpp>
Public Types | |
using | device_image_iterator = const device_image< State > * |
Public Member Functions | |
kernel_bundle ()=delete | |
bool | empty () const noexcept |
backend | get_backend () const noexcept |
context | get_context () const noexcept |
std::vector< device > | get_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_id > | get_kernel_ids () const |
bool | contains_specialization_constants () const noexcept |
bool | native_specialization_constant () const noexcept |
template<bundle_state _State = State, typename = detail::enable_if_t<_State == bundle_state::executable>> | |
kernel | get_kernel (const kernel_id &KernelID) const |
device_image_iterator | begin () const |
device_image_iterator | end () const |
template<backend Backend> | |
backend_return_t< Backend, kernel_bundle< State > > | get_native () const |
Friends | |
template<class T > | |
T | detail::createSyclObjFromImpl (decltype(T::impl) ImplObj) |
template<backend Backend, class SyclT > | |
auto | get_native (const SyclT &Obj) -> backend_return_t< Backend, SyclT > |
The kernel_bundle class represents collection of device images in a particular state.
Definition at line 28 of file kernel.hpp.
using cl::sycl::kernel_bundle< State >::device_image_iterator = const device_image<State> * |
Definition at line 199 of file kernel_bundle.hpp.
|
delete |
|
inline |
Definition at line 303 of file kernel_bundle.hpp.
Referenced by cl::sycl::detail::make_kernel().
|
inlinenoexcept |
Definition at line 241 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 204 of file kernel_bundle.hpp.
|
inline |
Definition at line 309 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 207 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 212 of file kernel_bundle.hpp.
Referenced by cl::sycl::handler::use_kernel_bundle().
|
inlinenoexcept |
Definition at line 217 of file kernel_bundle.hpp.
|
inline |
Definition at line 255 of file kernel_bundle.hpp.
|
inline |
Definition at line 235 of file kernel_bundle.hpp.
|
inline |
Definition at line 315 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 223 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 230 of file kernel_bundle.hpp.
|
inlinenoexcept |
Definition at line 247 of file kernel_bundle.hpp.
|
friend |
|
friend |