https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #7 from zhuguanghong ---
I get it, thank you for your answer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #5 from zhuguanghong ---
But what I want is that 0-7cpu can run this thread
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #4 from zhuguanghong ---
This leads to when I set the environment variable "GOMP_CPU_AFFINITY=0-7" and
call the initialize_env function, the thread will be automatically bound to one
cpu and cannot be scheduled to other cpu.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #3 from zhuguanghong ---
hi ,thanks for your reply
initialize_env (void)
1 {
0
1 if (parse_affinity (ignore))
2 {
3 if (gomp_global_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #2 from Jakub Jelinek ---
I'm sorry but from the above it is impossible to decipher what do you think is
a bug and why.
Can you write a few sentences about what env var or cpu configuration do you
think misbehaves and why?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320
--- Comment #1 from zhuguanghong ---
fix? like this ?
while(gomp_places_list_len-- ){
*(gomp_places_list[0]) | = *(gomp_places_list[gomp_places_list_len])