public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gomp_affinity_format_len
@ 2022-06-16 15:41 Mohamed Atef
  2022-06-16 15:46 ` gomp_affinity_format_len Mohamed Atef
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Atef @ 2022-06-16 15:41 UTC (permalink / raw)
  To: gcc, Jakub Jelinek

Hello,
   this variable doesn't take value. It's always zero.
Is this intended?

Mohamed

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gomp_affinity_format_len
  2022-06-16 15:41 gomp_affinity_format_len Mohamed Atef
@ 2022-06-16 15:46 ` Mohamed Atef
  2022-06-16 16:00   ` gomp_affinity_format_len Mohamed Atef
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Atef @ 2022-06-16 15:46 UTC (permalink / raw)
  To: gcc, Jakub Jelinek

Sorry i found it in affinity-fmt.c

في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤١ م Mohamed Atef <mohamedatef1698@gmail.com>
كتب:

> Hello,
>    this variable doesn't take value. It's always zero.
> Is this intended?
>
> Mohamed
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gomp_affinity_format_len
  2022-06-16 15:46 ` gomp_affinity_format_len Mohamed Atef
@ 2022-06-16 16:00   ` Mohamed Atef
  2022-06-16 17:06     ` gomp_affinity_format_len Jakub Jelinek
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Atef @ 2022-06-16 16:00 UTC (permalink / raw)
  To: gcc, Jakub Jelinek, tobias

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.

Mohamed.

في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤٦ م Mohamed Atef <mohamedatef1698@gmail.com>
كتب:

> Sorry i found it in affinity-fmt.c
>
> في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤١ م Mohamed Atef <mohamedatef1698@gmail.com>
> كتب:
>
>> Hello,
>>    this variable doesn't take value. It's always zero.
>> Is this intended?
>>
>> Mohamed
>>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gomp_affinity_format_len
  2022-06-16 16:00   ` gomp_affinity_format_len Mohamed Atef
@ 2022-06-16 17:06     ` Jakub Jelinek
  0 siblings, 0 replies; 4+ messages in thread
From: Jakub Jelinek @ 2022-06-16 17:06 UTC (permalink / raw)
  To: Mohamed Atef; +Cc: gcc, tobias

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-16 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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     ` gomp_affinity_format_len Jakub Jelinek

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).