Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#230 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
434
Fork
38
Merge medio
2g 14h
PR unite (30g)
8

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di joblib/threadpoolctl

Tutte le issue di joblib/threadpoolctl

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.