Reductions should be implemented similar to JIT
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
NOMP_REDUCTION should be a a value in nomp_arg_properties_t, and should
be implemented similar to NOMP_JIT rather than passing it strings in clauses array.
Also, we only need to know the variable name used in the reduction, reduction
operation can be found when we traverse the AST.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating nomp_arg_properties_t, NOMP_REDUCTION, NOMP_JIT, the clauses array, and the AST traversal. Trace how reduction variables and operations are currently handled; done means NOMP_REDUCTION is represented like NOMP_JIT, only the variable name is passed through clauses, and the operation is obtained during AST traversal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100