The class is an impl counterpart of the sycl::kernel_bundle. More...
#include <detail/kernel_bundle_impl.hpp>
Public Member Functions | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs, bundle_state State) | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs) | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs, device_image_plain &DevImage) | |
kernel_bundle_impl (const kernel_bundle< bundle_state::input > &InputBundle, std::vector< device > Devs, const property_list &PropList, bundle_state TargetState) | |
kernel_bundle_impl (const std::vector< kernel_bundle< bundle_state::object >> &ObjectBundles, std::vector< device > Devs, const property_list &PropList) | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs, const std::vector< kernel_id > &KernelIDs, bundle_state State) | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs, const DevImgSelectorImpl &Selector, bundle_state State) | |
kernel_bundle_impl (const std::vector< detail::KernelBundleImplPtr > &Bundles, bundle_state State) | |
kernel_bundle_impl (const context &Context, syclex::source_language Lang, const std::string &Src) | |
kernel_bundle_impl (const context &Context, syclex::source_language Lang, const std::vector< std::byte > &Bytes) | |
kernel_bundle_impl (context Ctx, std::vector< device > Devs, device_image_plain &DevImage, std::vector< std::string > KNames) | |
std::shared_ptr< kernel_bundle_impl > | build_from_source (const std::vector< device > Devices, const std::vector< std::string > &BuildOptions, std::string *LogPtr) |
bool | ext_oneapi_has_kernel (const std::string &Name) |
kernel | ext_oneapi_get_kernel (const std::string &Name, const std::shared_ptr< kernel_bundle_impl > &Self) |
bool | empty () const noexcept |
backend | get_backend () const noexcept |
context | get_context () const noexcept |
const std::vector< device > & | get_devices () const noexcept |
std::vector< kernel_id > | get_kernel_ids () const |
kernel | get_kernel (const kernel_id &KernelID, const std::shared_ptr< detail::kernel_bundle_impl > &Self) const |
bool | has_kernel (const kernel_id &KernelID) const noexcept |
bool | has_kernel (const kernel_id &KernelID, const device &Dev) const noexcept |
bool | contains_specialization_constants () const noexcept |
bool | native_specialization_constant () const noexcept |
bool | has_specialization_constant (const char *SpecName) const noexcept |
void | set_specialization_constant_raw_value (const char *SpecName, const void *Value, size_t Size) noexcept |
void | get_specialization_constant_raw_value (const char *SpecName, void *ValueRet) const noexcept |
bool | is_specialization_constant_set (const char *SpecName) const noexcept |
const device_image_plain * | begin () const |
const device_image_plain * | end () const |
size_t | size () const noexcept |
bundle_state | get_bundle_state () const |
const SpecConstMapT & | get_spec_const_map_ref () const noexcept |
bool | isInterop () const |
bool | add_kernel (const kernel_id &KernelID, const device &Dev) |
The class is an impl counterpart of the sycl::kernel_bundle.
Definition at line 56 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 81 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::ProgramManager::getInstance(), and sycl::_V1::detail::ProgramManager::getSYCLDeviceImages().
|
inline |
Definition at line 91 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::checkAllDevicesAreInContext(), sycl::_V1::invalid, and sycl::_V1::make_error_code().
|
inline |
Definition at line 102 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 111 of file kernel_bundle_impl.hpp.
References all_of(), sycl::_V1::compile(), sycl::_V1::executable, sycl::_V1::ext_oneapi_source, sycl::_V1::detail::ProgramManager::getInstance(), sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::input, sycl::_V1::invalid, sycl::_V1::make_error_code(), none_of(), and sycl::_V1::object.
|
inline |
Definition at line 163 of file kernel_bundle_impl.hpp.
References all_of(), get_context(), sycl::_V1::invalid, and sycl::_V1::make_error_code().
|
inline |
Definition at line 242 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::ProgramManager::getInstance(), and sycl::_V1::detail::ProgramManager::getSYCLDeviceImages().
|
inline |
Definition at line 253 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::ProgramManager::getInstance(), and sycl::_V1::detail::ProgramManager::getSYCLDeviceImages().
|
inline |
Definition at line 264 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::for_each(), sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::input, sycl::_V1::invalid, and sycl::_V1::make_error_code().
|
inline |
Definition at line 334 of file kernel_bundle_impl.hpp.
References sycl::_V1::ext_oneapi_source.
|
inline |
Definition at line 341 of file kernel_bundle_impl.hpp.
References sycl::_V1::ext_oneapi_source.
|
inline |
Definition at line 349 of file kernel_bundle_impl.hpp.
References sycl::_V1::executable.
|
inline |
Definition at line 677 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::ProgramManager::getInstance(), sycl::_V1::detail::ProgramManager::getSYCLDeviceImages(), and sycl::_V1::detail::getSyclObjImpl().
|
inline |
Definition at line 661 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 358 of file kernel_bundle_impl.hpp.
References sycl::_V1::build, sycl::_V1::ext::oneapi::experimental::detail::BuildOptions, sycl::_V1::executable, sycl::_V1::ext_oneapi_source, sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::invalid, sycl::_V1::make_error_code(), sycl::_V1::ext::oneapi::experimental::detail::OpenCLC_to_SPIRV(), PI_PROGRAM_INFO_KERNEL_NAMES, PI_PROGRAM_INFO_NUM_KERNELS, piProgramBuild(), piProgramCreate(), piProgramGetInfo(), and sycl::_V1::detail::split_string().
|
inlinenoexcept |
Definition at line 589 of file kernel_bundle_impl.hpp.
References any_of().
|
inlinenoexcept |
Definition at line 477 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 663 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 449 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::invalid, sycl::_V1::make_error_code(), and piKernelCreate().
|
inline |
Definition at line 443 of file kernel_bundle_impl.hpp.
|
inlinenoexcept |
Definition at line 479 of file kernel_bundle_impl.hpp.
|
inline |
Definition at line 669 of file kernel_bundle_impl.hpp.
|
inlinenoexcept |
Definition at line 483 of file kernel_bundle_impl.hpp.
Referenced by kernel_bundle_impl().
|
inlinenoexcept |
Definition at line 485 of file kernel_bundle_impl.hpp.
|
inline |
|
inline |
Definition at line 487 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::getSyclObjImpl().
|
inlinenoexcept |
Definition at line 671 of file kernel_bundle_impl.hpp.
|
inlinenoexcept |
Definition at line 628 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::getSyclObjImpl().
|
inlinenoexcept |
Definition at line 574 of file kernel_bundle_impl.hpp.
References any_of().
|
inlinenoexcept |
Definition at line 581 of file kernel_bundle_impl.hpp.
References any_of().
|
inlinenoexcept |
Definition at line 606 of file kernel_bundle_impl.hpp.
References any_of().
|
inlinenoexcept |
Definition at line 651 of file kernel_bundle_impl.hpp.
References any_of().
|
inline |
Definition at line 675 of file kernel_bundle_impl.hpp.
|
inlinenoexcept |
Definition at line 597 of file kernel_bundle_impl.hpp.
References all_of().
|
inlinenoexcept |
Definition at line 614 of file kernel_bundle_impl.hpp.
References sycl::_V1::detail::getSyclObjImpl().
|
inlinenoexcept |
Definition at line 667 of file kernel_bundle_impl.hpp.