Skip to content

update README to include a section on OpenMP#205

Merged
r-devulap merged 1 commit into
numpy:mainfrom
r-devulap:readme-v7.0
May 19, 2025
Merged

update README to include a section on OpenMP#205
r-devulap merged 1 commit into
numpy:mainfrom
r-devulap:readme-v7.0

Conversation

@r-devulap

Copy link
Copy Markdown
Member

This pull request adds documentation on how to enable and use OpenMP for parallel sorting in the project. It explains the configuration steps, performance benefits, and thread control options.

Documentation Updates:

  • Added a new section in README.md titled "Build using OpenMP." This section details how to enable OpenMP support using the -Duse_openmp=true flag in Meson, describes potential performance improvements (up to 3x speedup), and explains how to configure the number of threads using the OMP_NUM_THREADS environment variable. It also specifies that OpenMP-based routines are applied to large arrays where threading is beneficial.

@sterrettm2 sterrettm2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, definitely was needed. Thanks!

@r-devulap r-devulap merged commit 8a72081 into numpy:main May 19, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants