Sunday, July 6, 2014

Parallel programming notes

OpenMP

Introduction to OpenMP - Tim Mattson (Intel):
https://www.youtube.com/watch?v=jfQLD2AGSvc&list=PLLX-Q6B8xqZ8n8bwjGdzBJ25X2utwnoEG&index=0
OpenMP - Quick Reference Card:
http://openmp.org/mp-documents/OpenMP-4.0-C.pdf

CUDA

Measuring performance of CUDA operations
http://devblogs.nvidia.com/parallelforall/how-implement-performance-metrics-cuda-cc/
Monitoring GPU usage
$ nvidia-sli -l -lms 1000
+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0            Not Supported                                               |
+-----------------------------------------------------------------------------+
Wed Sep 10 23:51:15 2014       
+------------------------------------------------------+                       
| NVIDIA-SMI 340.29     Driver Version: 340.29         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 770     Off  | 0000:01:00.0     N/A |                  N/A |
| 66%   80C    P0    N/A /  N/A |   1279MiB /  2047MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+


..to be continued..