public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Mohamed Atef <mohamedatef1698@gmail.com>
Cc: gcc@gcc.gnu.org, tobias@codesourcery.com
Subject: Re: gomp_affinity_format_len
Date: Thu, 16 Jun 2022 19:06:07 +0200	[thread overview]
Message-ID: <Yqti/yT1Hup9ZJI4@tucnak> (raw)
In-Reply-To: <CAPFh8NKuEMq3QmOJNmsQOP5SDfkhiVZXb5nHkksx1frKhjBC-A@mail.gmail.com>

On Thu, Jun 16, 2022 at 06:00:47PM +0200, Mohamed Atef wrote:
> I cant't get the value of "gomp_affinity_format_let" I used the plugin but
> it only gives 0 value. if you noticed in the gompd_get_affinity_format i
> used 100 for the length of the affinity format.

gomp_affinity_format_len is just an internal var holding how many bytes have
been allocated for the gomp_affinity_format pointer.
Unless you use OMP_AFFINITY_FORMAT env var or call omp_set_affinity_format,
it will be 0.

	Jakub


      reply	other threads:[~2022-06-16 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16 15:41 gomp_affinity_format_len Mohamed Atef
2022-06-16 15:46 ` gomp_affinity_format_len Mohamed Atef
2022-06-16 16:00   ` gomp_affinity_format_len Mohamed Atef
2022-06-16 17:06     ` Jakub Jelinek [this message]

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=Yqti/yT1Hup9ZJI4@tucnak \
    --to=jakub@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=mohamedatef1698@gmail.com \
    --cc=tobias@codesourcery.com \
    /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).