[Openmp-dev] [EXTERNAL] accidental interface change for __kmpc_push_target_tripcount?

Huber, Joseph via Openmp-dev openmp-dev at lists.llvm.org
Thu Mar 11 07:10:40 PST 2021


I pushed a fixed and submitted a bug report https://bugs.llvm.org/show_bug.cgi?id=49539. Anyone who was using Clang 12.x or 13.x for offloading applications will most likely need to recompile.
________________________________
From: Openmp-dev <openmp-dev-bounces at lists.llvm.org> on behalf of Deepak Eachempati via Openmp-dev <openmp-dev at lists.llvm.org>
Sent: Monday, March 8, 2021 5:25 PM
To: openmp-dev at lists.llvm.org <openmp-dev at lists.llvm.org>
Subject: [EXTERNAL] [Openmp-dev] accidental interface change for __kmpc_push_target_tripcount?


Hi,



It looks like we broke backwards compatibility for the __kmpc_push_target_tripcount with this change that added location fields to libomptarget for debugging:



https://reviews.llvm.org/D87946<https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.llvm.org_D87946&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=Bh22sFI6-VGL2UQadI-dH9OCPAYb99YwOEfNc6F-8oM&m=SyOKtEnH3HhBUfOSnL8HmCuVsRpPnKnAR1mvsAZUBQs&s=opcC_EdBFuDypMkCLTeZ5VMPwpNPovZy0IpkZivJ7IQ&e=>



>From the discussion in the patch review, a suffix (like _loc) was not added for the new Mapper API entry points because they weren’t released in Clang 11.x. But __kmpc_push_target_tripcount was an existing entry point. I suspect this was just overlooked?



Do we have time to get this fixed for Clang 12.x, by adding a new __kmpc_push_target_tripcount_loc?



Thanks,

Deepak


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20210311/ea010fbd/attachment-0001.html>


More information about the Openmp-dev mailing list