We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3511e1 commit a6ee4e6Copy full SHA for a6ee4e6
sycl/source/detail/kernel_bundle_impl.hpp
@@ -484,13 +484,7 @@ class kernel_bundle_impl {
484
size_t size() const noexcept { return MDeviceImages.size(); }
485
486
bundle_state get_bundle_state() const {
487
- // Interop kernel-bundles are always in executable state
488
- if (MIsInterop)
489
- return bundle_state::executable;
490
- // All device images are expected to have the same state
491
- return MDeviceImages.empty()
492
- ? MState
493
- : detail::getSyclObjImpl(MDeviceImages[0])->get_state();
+ return MState;
494
}
495
496
const SpecConstMapT &get_spec_const_map_ref() const noexcept {
0 commit comments