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

Feature flags for backend multithreading

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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
Đình trệ
Công nghệ
rust
Lĩnh vực
backend, performance

Hướng nghiên cứu

Review how the openblas-src and intel-mkl-src feature flags are currently exposed, then examine the OpenMP interaction described in the issue. Define the Rust-facing configuration needed to control backend threading and verify that sequential LAPACK execution can coexist with Rust's independent parallel work.

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

Mô tả

BLAS/LAPACK backends has multi-threading.

  • openblas-src has openmp flag to enable OpenMP
  • intel-mkl-src has mkl-static-lp64-iomp flag to link the multi-threaded static library

Problems

How to interact with Rust's multi-threading?

We often use multiple threads in Rust-hand to solve independent problems. In this case, LAPACK routines should run in sequential manner because multi-threading of a linear problem is less efficient than trivial parallel. Unfortunatelty, the LAPACK interface does not expose its threading option as argument, and we have to handle them using OpenMP interface e.g. omp_set_num_threads.

Ngôn ngữ chính
Rust
Star
452
Fork
95
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 rust-ndarray/ndarray-linalg

Tất cả issue của rust-ndarray/ndarray-linalg

Issue tương tự

Thêm issue về Rust

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.