Hi everyone, I am using theano, but have some problems with using multi 
cores and GPU at the same time.

The platform is Ubuntu 14.04, numpy compiled with MKL for blas. I have 
checked that theano supports multi cores, following the instruction at 
here: here 
<http://deeplearning.net/software/theano/tutorial/multi_cores.html>

When i run my program, with OMP_NUM_THREADS=8 
THEANO_FLAGS=device=cpu,floatX=float32 python train.py, it uses multiple 
cores successfully. However, if I run OMP_NUM_THREADS=8 
THEANO_FLAGS=device=gpu,floatX=float32 python train.py, it only use one 
core each time. In my program, I use both theano and numpy heavily, so i 
hope to use gpu for deep learning and multiple cores for some numpy 
computation.

Anyone could help me? Any reply would be highly appreciated.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to