... | ... | @@ -79,3 +79,14 @@ Pour plus d'informations : |
|
|
```bash
|
|
|
nvidia-smi -q -d MEMORY,UTILIZATION,TEMPERATURE,POWER,CLOCK,COMPUTE,PIDS,PERFORMANCE -l
|
|
|
```
|
|
|
### Utilisation de OpenCL ###
|
|
|
[OpenCL](https://www.khronos.org/opencl/) est un standard de programmation des architectures GPU s’appuyant sur des extensions de C++.
|
|
|
Pour utiliser OpenCL :
|
|
|
* les fichiers d’include se trouvent dans `/usr/local/cuda/include/CL`, il vous faut donc utiliser `-I/usr/local/cuda/include` à la compilation ;
|
|
|
* la bibliothèque OpenCL se trouve dans `/usr/lib64`, il vous suffit donc de préciser `-lOpenCL` à l’édition de liens.
|
|
|
### Quelques références sur le web ###
|
|
|
* [La lettre IN2P3 informatique](http://informatique.in2p3.fr/li/spip.php?article128)
|
|
|
* http://www.info.univ-angers.fr/~richer/cuda_crs2.php
|
|
|
* http://blogs.msdn.com/b/devpara/archive/2011/11/18/introduction-224-la-programmation-gpu-part-3.aspx
|
|
|
* http://www.enseignement.polytechnique.fr/profs/informatique/Eric.Goubault/Cours12/cours3-4.pdf
|
|
|
* http://www.irisa.fr/alf/downloads/collange/cours/gpuprog_ufmg/gpuprog_2.pdf |