-
Notifications
You must be signed in to change notification settings - Fork 15k
[OpenMP] OpenMP ThreadSet clause - basic runtime #144409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2740,7 +2740,8 @@ typedef struct kmp_tasking_flags { /* Total struct must be exactly 32 bits */ | |
| unsigned tasking_ser : 1; | ||
| unsigned task_serial : 1; | ||
| unsigned tasktype : 1; | ||
| unsigned reserved : 8; | ||
| unsigned free_agent_eligible : 1; | ||
| unsigned reserved : 7; | ||
| unsigned hidden_helper : 1; | ||
| unsigned detachable : 1; | ||
| unsigned priority_specified : 1; | ||
|
|
@@ -2763,7 +2764,9 @@ typedef struct kmp_tasking_flags { /* Total struct must be exactly 32 bits */ | |
| setting for the task */ | ||
| unsigned detachable : 1; /* 1 == can detach */ | ||
| unsigned hidden_helper : 1; /* 1 == hidden helper task */ | ||
| unsigned reserved : 8; /* reserved for compiler use */ | ||
| unsigned reserved : 7; /* reserved for compiler use */ | ||
| unsigned free_agent_eligible : 1; /* set if task can be executed by a | ||
|
||
| free-agent thread */ | ||
|
|
||
| /* Library flags */ /* Total library flags must be 16 bits */ | ||
| unsigned tasktype : 1; /* task is either explicit(1) or implicit (0) */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put free_agent_eligible before reserved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you need to use reversed order for big endian here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.