[clang] [llvm] [Offload] Unify offloading entries into a single section (PR #125731)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 09:53:32 PST 2025
================
@@ -437,22 +441,6 @@ static int loadImagesOntoDevice(DeviceTy &Device) {
__tgt_target_table *TargetTable = TransTable->TargetsTable[DeviceId] =
&TransTable->DeviceTables[DeviceId];
- // 4) Verify whether the two table sizes match.
- size_t Hsize =
- TransTable->HostTable.EntriesEnd - TransTable->HostTable.EntriesBegin;
----------------
jhuber6 wrote:
Removed this because this subtraction is no longer true if it's mixed and this just seems to verify that we indeed pushed back this many things, which should always be true.
https://github.com/llvm/llvm-project/pull/125731
More information about the cfe-commits
mailing list