From 900f454186b3a80b28e6c4c8186b49b9cdbeffcc Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 27 Jul 2008 17:45:00 -0500 Subject: [PATCH] Fix tests. --- test/dump_properties.py | 2 +- test/test_gpuarray.py | 0 test/test_gpuarray_speed.py | 0 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 test/test_gpuarray.py mode change 100755 => 100644 test/test_gpuarray_speed.py diff --git a/test/dump_properties.py b/test/dump_properties.py index 18b417d9..e6ab5b03 100644 --- a/test/dump_properties.py +++ b/test/dump_properties.py @@ -6,7 +6,7 @@ print "%d device(s) found." % drv.Device.count() for ordinal in range(drv.Device.count()): - dev = drv.Device(0) + dev = drv.Device(ordinal) print "Device #%d: %s" % (ordinal, dev.name()) print " Compute Capability: %d.%d" % dev.compute_capability() print " Total Memory: %s KB" % (dev.total_memory()//(1024)) diff --git a/test/test_gpuarray.py b/test/test_gpuarray.py old mode 100755 new mode 100644 diff --git a/test/test_gpuarray_speed.py b/test/test_gpuarray_speed.py old mode 100755 new mode 100644