|
| kernel_bundle ()=delete |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | empty () const noexcept |
|
backend | get_backend () const noexcept |
|
context | get_context () const noexcept |
|
std::vector< device > | get_devices () const noexcept |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | has_kernel (const kernel_id &KernelID) const noexcept |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | has_kernel (const kernel_id &KernelID, const device &Dev) const noexcept |
|
template<typename KernelName , bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | has_kernel () const noexcept |
|
template<typename KernelName , bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | has_kernel (const device &Dev) const noexcept |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
std::vector< kernel_id > | get_kernel_ids () const |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | contains_specialization_constants () const noexcept |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | native_specialization_constant () const noexcept |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::executable>> |
kernel | get_kernel (const kernel_id &KernelID) const |
|
template<typename KernelName , bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::executable>> |
kernel | get_kernel () const |
|
template<auto & SpecName, bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
bool | has_specialization_constant () const noexcept |
|
template<auto & SpecName, bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::input>> |
void | set_specialization_constant (typename std::remove_reference_t< decltype(SpecName)>::value_type Value) |
| Sets the value of the specialization constant whose address is SpecName for this bundle. More...
|
|
template<auto & SpecName, bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
std::remove_reference_t< decltype(SpecName)>::value_type | get_specialization_constant () const |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
device_image_iterator | begin () const |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State != bundle_state::ext_oneapi_source>> |
device_image_iterator | end () const |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::executable>> |
bool | ext_oneapi_has_kernel (const std::string &name) |
|
template<bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::executable>> |
kernel | ext_oneapi_get_kernel (const std::string &name) |
|
| 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< 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 |
|
bool | ext_oneapi_has_kernel (const std::string &name) |
|
kernel | ext_oneapi_get_kernel (const std::string &name) |
|
bool | ext_oneapi_owner_before (const ext::oneapi::detail::weak_object_base< kernel_bundle< State > > &Other) const noexcept |
| Compares the object against a weak object using an owner-based implementation-defined ordering. More...
|
|
bool | ext_oneapi_owner_before (const kernel_bundle< State > &Other) const noexcept |
| Compares the object against another object using an owner-based implementation-defined ordering. More...
|
|
template<bundle_state State>
class sycl::_V1::kernel_bundle< State >
The kernel_bundle class represents collection of device images in a particular state.
Definition at line 223 of file kernel_bundle.hpp.
template<bundle_state State>
template<auto & SpecName, bundle_state _State = State, typename = std::enable_if_t<_State == bundle_state::input>>
Sets the value of the specialization constant whose address is SpecName for this bundle.
If the specialization constant’s value was previously set in this bundle, the value is overwritten.
Definition at line 347 of file kernel_bundle.hpp.