openblas_set_threads_callback_function is a silent no-op on Windows
Maintainer thường phản hồi trong vòng 1 ngà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
- 43/100
Hướng nghiên cứu
Read driver/others/blas_server_win32.c and compare its current Windows threading backend with commit 7102367fd and the history described for #4835. First determine whether caller-managed threading is intended to be supported on Windows; if it is, verify the callback registration and invocation behavior, and if not, clarify the limitation for callers. Done means the behavior is no longer silently misleading and is consistent with the project's decision.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
On Windows, openblas_set_threads_callback_function() is accepted and silently ignored: the registered callback is never invoked, and no error or warning is produced. The symbol is exported and declared in cblas.h, so callers have no way to tell that caller-managed threading is not in effect.
This looks like fallout from #4835 rather than an intentional limitation.
History
The win32 backend did have the hook:
- 7102367fd ("Introduced callback to Pthread, Win32 and OpenMP backend") added it, on top of the file as it stood after #4359.
- #4835 undid #4359 by replacing driver/others/blas_server_win32.c with its pre-#4359 revision.
Question
Is this worth restoring, or is caller-managed threading deliberately unsupported on Windows?
- Ngôn ngữ chính
- C
- Star
- 7.6k
- Fork
- 1.7k
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 53
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenMathLib/OpenBLAS
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenMathLib/OpenBLAS#6119 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
OpenMathLib/OpenBLAS#6107 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
OpenMathLib/OpenBLAS#6104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
OpenMathLib/OpenBLAS#6103 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
OpenMathLib/OpenBLAS#6102 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenMathLib/OpenBLAS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
test/command failure with filtered `listxattr` syscallCó thể đã có người làm @Kiskae đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100