From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by sourceware.org (Postfix) with ESMTPS id EC6283858D37 for ; Sat, 12 Feb 2022 04:40:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EC6283858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=smail.iitm.ac.in Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=smail.iitm.ac.in Received: by mail-vs1-xe35.google.com with SMTP id e18so11535978vsq.10 for ; Fri, 11 Feb 2022 20:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smail-iitm-ac-in.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=iAhZ/p65H0dyd82QxRVP8mMuK916oa/zV068vrjWv8w=; b=xcDdVnV+eT9EhK2odKrvQopSr/seFIFfF7Usbc9saeb1U5vyJQRzYJY91X0YwErA3K IvOygOxLTXrx+pbWu4cQVPiZ6GrgbvZdP1xPSTiNt+uQONfSEFG9XfmvhGKdogwQRfrt /kO88eyus8skKWUI4BKePiCtiCx0arsQcaBTyZtwYGKwtxAc1TvwnDRwzsIPc+EzJdXR f8FqiAZXTjxBj4ibF7cj6eW7vJVNmxVqoMX5oR6Xs1B9hqGCM0dul5vVlX0zDFM+AzVn A6rFes2KUq2MvPd5W1u20FNlF7kV8NUKbWS0+XxjgBGGkstPo0osJ4ZxM+yjRSiHtXBk qedA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iAhZ/p65H0dyd82QxRVP8mMuK916oa/zV068vrjWv8w=; b=M02Wbv79voZm2Oi2WA2bPHgzlc0R+eVlygN1H5c62KePL2mH7cs8q0Jvrad2jagseW rbl97DtPyMNaBXXIgNYhC5pSuVB6zU8fCvpPuURzyYdDWmQSlRtf9+ZBhCUIjnfzhd0k TolN1g5HDEPN6o8/z84FZjdrbiB13lvkGbLDEHhiPlzSnESO/vUFuQ8qQaRN2Gx/sAji JfNm0w9JLrpUu2pa6sSfFC5GIdO0p1T/e5LyR8Npy7lSktZ1gKQkvPq3he0y/gjonwXZ UNd8y60anM2FVneiokHDHiwIv7NP1IsfUfQI8qgGi+uzWbU3xYjOcdMk19LyoYjU3393 S7Zw== X-Gm-Message-State: AOAM5307GPf/zTZQHkZ3CFVLMiFuPA6kJLZGXSpc3aJCRoOfkiHtnFFQ QpQ8sMjJf6ohc70+mT7h4rbiODykW4GazYxePx36yPc+Y34Htg== X-Google-Smtp-Source: ABdhPJzsjrlQH1WsjdG2VqwKYTsYtBKvP5ij33GhX5RfFJbcmFs+heL+htcd98EwN7ZgkFYKEPgNT6TT+Qz6zcgpXnI= X-Received: by 2002:a67:7185:: with SMTP id m127mr1507617vsc.4.1644640856337; Fri, 11 Feb 2022 20:40:56 -0800 (PST) MIME-Version: 1.0 From: Prasoon Mishra CS20S028 Date: Sat, 12 Feb 2022 10:10:45 +0530 Message-ID: Subject: Regarding passing additional parameters in runtime schedule To: gcc@gcc.gnu.org X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2022 04:40:59 -0000 Dear gcc, I wanted to pass the address of an array defined in C code to the runtime schedule in libgomp. Basically I want to pass some information from the C code to the scheduler in OpenMp. I don't know how to achieve it. After analyzing the assembly code generated by GCC, I understood there is a GOMP_parallel_loop_maybe_nonmonotonic_runtime function which is called and if I am able to add a function pointer as argument to this function, I can do that. Please give some suggestions and pointers for me to achieve this or any other way if there is a simple solution to send data from c code to the scheduler in libgomp. Please let me know. Thanks in advance. Regards, Prasoon