nomp-org / nomp-org/libnomp

Reductions should be implemented similar to JIT

Open
#268 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.