提交 ce0234ed authored 作者: Frederic Bastien's avatar Frederic Bastien

chnaged speed test parameter

上级 1e5f9171
...@@ -764,6 +764,8 @@ class test_fusion(unittest.TestCase): ...@@ -764,6 +764,8 @@ class test_fusion(unittest.TestCase):
""" """
shp=(3000,3000) shp=(3000,3000)
shp=(1000,1000)
nb_repeat=50
# linker=gof.CLinker # linker=gof.CLinker
# linker=gof.OpWiseCLinker # linker=gof.OpWiseCLinker
...@@ -779,7 +781,6 @@ class test_fusion(unittest.TestCase): ...@@ -779,7 +781,6 @@ class test_fusion(unittest.TestCase):
s=slice(0,49) s=slice(0,49)
#s=slice(0,10) #s=slice(0,10)
#s=slice(49,59) #s=slice(49,59)
nb_repeat=10
print "test with linker", str(mode1.linker) print "test with linker", str(mode1.linker)
times1=self.do(mode1, shared_fn, shp, gpu=gpu, nb_repeat=nb_repeat, assert_len_topo=False,slice=s) times1=self.do(mode1, shared_fn, shp, gpu=gpu, nb_repeat=nb_repeat, assert_len_topo=False,slice=s)
times2=self.do(mode2, shared_fn, shp, gpu=gpu, nb_repeat=nb_repeat, assert_len_topo=False,slice=s) times2=self.do(mode2, shared_fn, shp, gpu=gpu, nb_repeat=nb_repeat, assert_len_topo=False,slice=s)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论