From e2b1c161cf2a28991739017a876a0a4cbd661351 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 12 Sep 2010 01:13:22 -0400 Subject: [PATCH] More readable memory allocations --- cuburn/ptx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuburn/ptx.py b/cuburn/ptx.py index 2937ff7..e471505 100644 --- a/cuburn/ptx.py +++ b/cuburn/ptx.py @@ -468,7 +468,7 @@ class _MemFactory(_CallChain): array = [] if init: array += [' = ', init] - self.block.code(op=['.%s.%s ' % (type[0], type[1]), name, array]) + self.block.code(op='.%s.%s ' % (type[0], type[1]), vars=[name, array]) self.block.inject(name, memobj) # TODO: move vec, addr here, or make this public