public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrei Rabusov <a.rabusov@tum.de>
To: libstdc++@gcc.gnu.org
Subject: std::reduce: set max number of threads
Date: Mon, 29 Nov 2021 15:55:31 +0100	[thread overview]
Message-ID: <YaTp43xERuUZEKYv@r2-d2.localdomain> (raw)

Dear libstdc++ experts,

I was searching how to limit the std::reduce function (or similar
std::transform_reduce) with a certain number of threads lower then the
number of available hardware cores. If I understand docs correctly, there is
no such feature in the STL at least according to cppreference, but it would
be quite nice to have it at some point. Could you please advise me whom to
contact and discuss if it is necessary or possible to implement such a
feature? Can it be done by your group as a non standard extension?

Best regards
Andrei

                 reply	other threads:[~2021-11-29 14:56 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=YaTp43xERuUZEKYv@r2-d2.localdomain \
    --to=a.rabusov@tum.de \
    --cc=libstdc++@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).