public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Prasoon Mishra CS20S028 <cs20s028@smail.iitm.ac.in>
To: gcc@gcc.gnu.org
Subject: Regarding passing additional parameters in runtime schedule
Date: Sat, 12 Feb 2022 10:10:45 +0530	[thread overview]
Message-ID: <CA+O=gh8H8pMhw-jTAUgmKkDEuFgtowiMD4ZtBGcQm+ioN8haxQ@mail.gmail.com> (raw)

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

                 reply	other threads:[~2022-02-12  4:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+O=gh8H8pMhw-jTAUgmKkDEuFgtowiMD4ZtBGcQm+ioN8haxQ@mail.gmail.com' \
    --to=cs20s028@smail.iitm.ac.in \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).