From 383c0f1f9adc916f2c177dbfbe677d2c658a0c8c Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sat, 11 Sep 2010 00:16:43 -0400 Subject: [PATCH] =?UTF-8?q?Fixed=20bench.py,=20with=20the=20help=20of=20De?= =?UTF-8?q?vice=20Assertions=E2=84=A2!*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Not actually a trademark --- bench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench.py b/bench.py index c0d7df1..a85c87c 100644 --- a/bench.py +++ b/bench.py @@ -108,7 +108,7 @@ class L2WriteCombining(PTXTest): self.scratch = np.zeros(self.block_size*ctx.ctas/4, np.uint64) self.times_bytes = np.zeros((4, ctx.threads), np.uint64, 'F') super(L2WriteCombining, self)._call(ctx, func, - cuda.InOut(self.scratch), cuda.InOut(self.times_bytes)) + cuda.InOut(self.times_bytes), cuda.InOut(self.scratch)) def call_teardown(self, ctx): pm = lambda a: (np.mean(a), np.std(a) / np.sqrt(len(a)))