clang-offload-bundler should allow missing host entry when unbundling with option
--allow-missing-bundles specified.
This is for the use cases where users want to link device-only bundles with
bundles containing both device and host entries.
Differential D142118
[HIP] Unbundler allows missing host entry yaxunl on Jan 19 2023, 7:45 AM. Authored by
Details
clang-offload-bundler should allow missing host entry when unbundling with option This is for the use cases where users want to link device-only bundles with
Diff Detail
Unit Tests |
Nit: My usual pet peeve - too many negations.
if (!(FoundHostBundle || BundlerConfig.HostInputIndex == ~0u || BundlerConfig.AllowMissingBundles))) is easier to understand, IMO.