Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update kohonen_som_topology.c#1487

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shahrinf wants to merge1 commit intoTheAlgorithms:master
base:master
Choose a base branch
Loading
fromshahrinf:patch-1

Conversation

shahrinf
Copy link

fix: add OpenMP parallel region for proper loop parallelization

Description of Change

Added an OpenMP parallel region for loops marked with #pragma omp for to enable actual parallel execution.

Previously, the loops had #pragma omp for without a surrounding parallel region, so they executed sequentially.
Now, loops in the function are wrapped in #pragma omp parallel for to correctly distribute iterations across threads.

References

Checklist

  • [ x] Added description of change
  • Added file name matchesFile name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • [ x] PR title follows semanticcommit guidelines
  • [ x] Search previous suggestions before making a new one, as yours may be a duplicate.
  • [ x] I acknowledge that all my contributions will be made under the project's license.

Notes:

fix: add OpenMP parallel region for proper loop parallelization
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@Panquesito7Panquesito7Awaiting requested review from Panquesito7Panquesito7 is a code owner

@tjgurwara99tjgurwara99Awaiting requested review from tjgurwara99tjgurwara99 is a code owner

@alexpantyukhinalexpantyukhinAwaiting requested review from alexpantyukhinalexpantyukhin is a code owner

1 more reviewer

@mindauglmindauglmindaugl approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@shahrinf@mindaugl

[8]ページ先頭

©2009-2025 Movatter.jp