Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
gpu [2017/03/16 17:10] kocmanek [Basic commands] |
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 ===== | ||
Line 125: | Line 134: | ||
//This should mention where each interesting toolkit lives (on a particular machine).// | //This should mention where each interesting toolkit lives (on a particular machine).// | ||
- | ==== TensorFlow ==== | ||
- | |||
- | [[https:// | ||
- | |||
- | OP: I created [[https:// | ||
- | |||
- | === 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: | ||
- | < | ||
- | |||
- | To list available devices, use: | ||
- | < | ||