提交 842cc29e authored 作者: Frederic Bastien's avatar Frederic Bastien

added tip on how to profile the gpu code.

上级 ef8d7053
...@@ -244,4 +244,7 @@ Tips for improving performance on GPU ...@@ -244,4 +244,7 @@ Tips for improving performance on GPU
termination (atexit). Is time being used sensibly? If an Op or Apply is termination (atexit). Is time being used sensibly? If an Op or Apply is
taking more time than its share, then if you know something about GPU taking more time than its share, then if you know something about GPU
programming have a look at how it's implemented in theano.sandbox.cuda. programming have a look at how it's implemented in theano.sandbox.cuda.
Check the line like 'Spent Xs(X%) in cpu Op, Xs(X%) in gpu Op and Xs(X%) transfert Op'
that can tell you if not enought of your graph is on the gpu or if their
is too much memory transfert.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论