From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id 7EA983856265 for ; Wed, 15 Jun 2022 09:55:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7EA983856265 Received: by mail-ed1-x52e.google.com with SMTP id x62so15314820ede.10 for ; Wed, 15 Jun 2022 02:55:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JCQtLuOnGfa1IDk5hB9wHUSE9VlU2zKF9LzYtpRg6Bw=; b=PUaQUuMBqdY+Bdh1SibcwXXV9m4/LqOGMb4NWlKxVktTZsp9fpVH//A0LBpaAZQ7t6 stP/ZFxfN2kI2/cc7aTgQwWsXa4U+pR2pIxmzzal3Z6Kq9f0IXscLF8G/I9oL+eYQY5P tsV/Pqq3Qs9W/VHamv7M6v3bPgmGnHN2k4h7axzqOLsxXKkBYszxoAdnalLf92kGJXqs I8IKLA6Z/kwzXYLIgziQa+rKqxRsBOSKcftTwDTRGZ3GLQ/R1cfgChw7UaTXJufGUrvy VVnDX7DZItGHTXcNlY41y95xVDppRCvwE+1RK7U/U1S59uqjfZzpbNZ+d1nu24xZEtg7 PRrg== X-Gm-Message-State: AOAM532KX2g60pM5LfP9zGU0hI8vzofxaCisiq7Vlzo1pfmVjy8W+w/S rB60hUFjbkWWF2iObZb1znuoURILQZc9pinlAxSCGqEtV7c= X-Google-Smtp-Source: AGRyM1t/hrYZzk1erUOlerxxrfK+OGKRWQDJuzdUln7ldJrhgOVWZubokErcbQnTJb5yLNqgFtunEL883arllpBd9Ro= X-Received: by 2002:a05:6402:1941:b0:413:2b5f:9074 with SMTP id f1-20020a056402194100b004132b5f9074mr11618234edz.414.1655286940749; Wed, 15 Jun 2022 02:55:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mohamed Atef Date: Wed, 15 Jun 2022 11:55:28 +0200 Message-ID: Subject: Re: [PATCH] libgompd: Fix sizes in OMPD support and add local ICVs finctions. To: gcc-patches@gcc.gnu.org, Jakub Jelinek , Mohamed Sayed , ahmedsayedmousse@gmail.com, youssef.magdy.775@gmail.com, aya.nashaat99@gmail.com X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2022 09:55:45 -0000 Ping =D9=81=D9=8A =D8=A7=D9=84=D8=AC=D9=85=D8=B9=D8=A9=D8=8C =D9=A1=D9=A0 =D9=8A= =D9=88=D9=86=D9=8A=D9=88=D8=8C =D9=A2=D9=A0=D9=A2=D9=A2 =D9=A5:=D9=A5=D9=A6= =D9=85 Mohamed Atef =D9=83=D8=AA=D8=A8: > > libgomp/ChangeLog > > 2022-06-10 Mohamed Atef > > * ompd-helper.h (DEREFERENCE, ACCESS_VALUE): New macros. > * ompd-helper.c (gompd_get_nthread, gompd_get_thread_limit, > gomp_get_run_shed, gompd_get_run_sched_chunk_size, > gompd_get_default_device, gompd_get_dynamic, > gompd_get_max_active_levels, gompd_get_proc_bind, > gompd_is_final, gompd_is_implicit, gompd_get_team_size): defined. > * ompd-icv.c (ompd_get_icv_from_scope): call the previous fincions, > thread_handle, task_handle and parallel handle: New variable. > Fix format in ashandle definition. > * ompd-init.c: call GET_VALUE with sizeof_short for gompd_state. > * ompd-support.h (gompd_state): size of short instead of long. > (GOMPD_FOREACH_ACCESS): Add > gompd_access (gomp_task, kind) > gompd_access (gomp_task, final_task) > gompd_access (gomp_team, nthreads) > * ompd-support.c: Define > gompd_get_offset > gompd_get_sizeof_member > gompd_get_size. > (gompd_load): Remove gompd_init_access, > gompd_init_sizeof_members, gompd_init_sizes > define gompd_access_gomp_thread_handle with __UINT16_TYPE__. > >