Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Have tests reflect that OpenBLAS + OpenMP on Windows can in theory have correct thread-local behavior

Abierto
#230 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
testing

Línea de trabajo

The issue concerns the thread-local tests that are currently skipped on Windows when OpenBLAS is built with OpenMP. Start by finding where those tests exclude Windows and what they assert about omp_set_num_threads. Done would mean either a reliable detection of the /openmp:llvm build (or another OpenMP introspection signal) that enables the tests on Windows, or a documented decision to keep them skipped. The issue is open-ended and depends on an experimental compiler flag, so confirm direction with maintainers first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Once #228 is merged, when OpenBLAS is compiled with OpenMP, OpenMP APIs are used to set the number of threads, since that has the desirable thread-local scope.

On Windows, however, the behavior of omp_set_num_threads() is still process-wide, not the desired thread-local scope. So the tests to ensure thread-local behavior don't currently run on Windows.

It's likely that this deficiency is solved by compiling with the /openmp:llvm flag. This flag is documented as experimental (as of September 2026), so it's not clear if it's being used in the real world.

But if it is discovered to be used in the real world, the tests can be updated to run on Windows as well if it can be detected somehow (specific OpenMP symbols? An OpenMP introspection API?) that OpenBLAS was compiled with this flag.

Lenguaje dominante
Python
Estrellas
434
Forks
38
Merge medio
2 d 14 h
PR fusionados (30 d)
8

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de joblib/threadpoolctl

Todos los issues de joblib/threadpoolctl

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.