Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
gpu [2017/03/16 17:10] kocmanek [TensorFlow] |
gpu [2017/03/16 17:11] kocmanek [Basic commands] |
||
---|---|---|---|
Line 97: | Line 97: | ||
/ | / | ||
# shows CUDA capability etc. | # shows CUDA capability etc. | ||
+ | | ||
+ | === Select GPU device === | ||
+ | |||
+ | Use variable CUDA_VISIBLE_DEVICES to constrain tensorflow to compute only on the selected one. For the use of first GPU use (GPU queue do this for you): | ||
+ | export CUDA_VISIBLE_DEVICES=0 | ||
+ | |||
+ | To list available devices, use: | ||
+ | / | ||
+ | |||
===== Performance tests ===== | ===== Performance tests ===== | ||