Skip to content

Commit f34ad5e

Browse files
committed
Merge pull request lisa-lab#11 from nouiz/master
Updated the timming
2 parents f49f761 + 0b2781d commit f34ad5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

code/test.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ def speed():
6969
# an i7-920 @ 2.67GHz with hyperthread enabled for the cpu
7070
# and an GeForce GTX 285 for the GPU.
7171

72-
expected_times_64 = numpy.asarray([10.7, 23.7, 78.1, 74.9, 116.4,
72+
expected_times_64 = numpy.asarray([10.3, 23.7, 78.1, 73.7, 116.4,
7373
346.9, 381.9, 558.1])
74-
expected_times_32 = numpy.asarray([9.8, 25.1, 47.2, 66.5, 71.7,
74+
expected_times_32 = numpy.asarray([12.4, 29.6, 47.2, 66.5, 73.7,
7575
191.2, 226.8, 432.8])
76+
7677
# Number with just 1 decimal are new value that are faster with
7778
# the Theano version 0.5rc2 Other number are older. They are not
7879
# updated, as we where faster in the past!
@@ -90,8 +91,8 @@ def speed():
9091
#expected/get [0.82492841, 0.75984178, 0.65092691, 1.04930573, 0.93125138
9192
# 1.35324519 1.7356905 1.12937868]
9293
expected_times_gpu = numpy.asarray([3.07663488, 7.55523491, 18.99226785,
93-
9.1, 24.13007045,
94-
18.3, 53.4, 285.4])
94+
9.6, 24.13007045,
95+
20.4, 58.9, 302.6])
9596
expected_times_64 = [s for idx, s in enumerate(expected_times_64)
9697
if to_exec[idx]]
9798
expected_times_32 = [s for idx, s in enumerate(expected_times_32)

0 commit comments

Comments
 (0)