================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits