https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97155

            Bug ID: 97155
           Summary: set GOMP_CPU_AFFINITY="0 1"
           Product: gcc
           Version: 9.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: prop_design at protonmail dot com
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

i've tried for years to use the auto-parallelization feature of gcc. however,
it has never worked. recently, it shows that it's working better. however, i
still can't utilize it properly on windows. the extra threads it creates all
run on the same physical core. the best i can tell the problem is if i try to
set the cpu affinity it comes back as unsupported.

moreover, using this command:

set GOMP_CPU_AFFINITY="0 1"

yields this output:

libgomp: Affinity not supported on this configuration

i have a dual core amd processor and i'm using windows 10 home. currently i am
using the tdm-gcc version 9.2. i had also tried msys2 and before that
mingw-builds. msys2 all the sudden stopped allowing static builds. so i had to
switch to tdm-gcc. building static is a must for what i'm doing.

any help would be appreciated. the bug thread i was trying to get help with
this has gone cold. that thread is at:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53957

if you need the source code and commands i'm trying to compile with, i can
provide that. however, it seems to be something more basic than what i was
looking into before. i've tried a number of different compiler options, before
i tracked it down to this.

thanks,

anthony

Reply via email to