Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#230 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
434
Fork
38
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của joblib/threadpoolctl

Tất cả issue của joblib/threadpoolctl

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.