boostorg / boostorg/compute

Improve documentation for system::default_device()

Đang mở
#388 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
documentation
Ngôn ngữ chính
C++
Star
1.7k
Fork
340
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Add better documentation for the `system::default_device()` method and indicate how it uses the environmental variables and what happens when no device is found.

From the review:

```
What does default_device do if there are no devices? Do the various
environment variables mentioned have any kind of precedence? (Probably
linking to the corresponding OpenCL docs is sufficient for such
questions). Do they have to be exact matches? Are they case-sensitive?
```
##

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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.