提交 7fd4182a authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes (mostly: enought -> enough)

上级 202eed7f
...@@ -232,7 +232,7 @@ Tips for improving performance on GPU ...@@ -232,7 +232,7 @@ Tips for improving performance on GPU
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' 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 that can tell you if not enough of your graph is on the gpu or if their
is too much memory transfert. is too much memory transfert.
......
...@@ -64,7 +64,7 @@ def test_sum(): ...@@ -64,7 +64,7 @@ def test_sum():
((5,4,3,10,11),[1,2]), ((5,4,3,10,11),[1,2]),
((5,4,3,20),[2,3]), ((5,4,3,2),[0,1,2,3]), ((5,4,3,2),[0,2,3]),((5,4,3,2),[1,2,3]), ((5,4,3,20),[2,3]), ((5,4,3,2),[0,1,2,3]), ((5,4,3,2),[0,2,3]),((5,4,3,2),[1,2,3]),
#test shape bigger then 4096 on each dimension to make sure that we work correctly when we don't have enought thread/block in each dimensions #test shape bigger then 4096 on each dimension to make sure that we work correctly when we don't have enough thread/block in each dimensions
((4100,3),[0]),((3,4101),[0]),#10 ((4100,3),[0]),((3,4101),[0]),#10
((1024,33),[0]),((33,1024),[0]),#10 ((1024,33),[0]),((33,1024),[0]),#10
((1025,33),[0]),((33,1025),[0]),#10 ((1025,33),[0]),((33,1025),[0]),#10
...@@ -880,7 +880,7 @@ class T_subtensor(theano.tensor.tests.test_basic.T_subtensor): ...@@ -880,7 +880,7 @@ class T_subtensor(theano.tensor.tests.test_basic.T_subtensor):
((4, 4, 2, 3), [3, 3, 1, 1, 2, 2, 0, 0, ((4, 4, 2, 3), [3, 3, 1, 1, 2, 2, 0, 0,
-1, -2, -3, -4], False), -1, -2, -3, -4], False),
]: ]:
# If there is not enought memory on the GPU, skip the test # If there is not enough memory on the GPU, skip the test
size_needed = numpy.prod(shape) * (4 + 1) size_needed = numpy.prod(shape) * (4 + 1)
if isinstance(theano.compile.get_default_mode(), if isinstance(theano.compile.get_default_mode(),
theano.compile.DebugMode): theano.compile.DebugMode):
......
...@@ -310,7 +310,7 @@ def test_downsample(): ...@@ -310,7 +310,7 @@ def test_downsample():
# The grad is too slow on GT220 GPU # The grad is too slow on GT220 GPU
# This cause the computer to freeze... # This cause the computer to freeze...
# Remove this when it get optimized enought # Remove this when it gets optimized enough
# This only bypass the last 2 checks # This only bypass the last 2 checks
# Those tests where passing in all Mode on a GTX470 # Those tests where passing in all Mode on a GTX470
if shp[0] > 30000 or shp[1] > 30000: if shp[0] > 30000 or shp[1] > 30000:
......
...@@ -46,7 +46,7 @@ def test_GpuCrossentropySoftmaxArgmax1HotWithBias(): ...@@ -46,7 +46,7 @@ def test_GpuCrossentropySoftmaxArgmax1HotWithBias():
#we precompute the dot with big shape before to allow the test of #we precompute the dot with big shape before to allow the test of
#GpuCrossentropySoftmax1HotWithBiasDx to don't fail with the error #GpuCrossentropySoftmax1HotWithBiasDx to don't fail with the error
#(the launch timed out and was terminated) on GPU card not #(the launch timed out and was terminated) on GPU card not
#powerfull enought. We need the big shape to check for corner #powerful enough. We need the big shape to check for corner
#case. #case.
dot_result = T.fmatrix('dot_result') dot_result = T.fmatrix('dot_result')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论