Improve documentation for system::default_device()
Ouverte
documentation
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 340
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
```
##
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.