summaryrefslogtreecommitdiff
path: root/gputhread.py
diff options
context:
space:
mode:
Diffstat (limited to 'gputhread.py')
-rw-r--r--gputhread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gputhread.py b/gputhread.py
index 0ee0155..6271607 100644
--- a/gputhread.py
+++ b/gputhread.py
@@ -78,7 +78,7 @@ class GPUThread(threading.Thread):
init_rng = module.get_function('init_rng')
texrefs = self.geometry.load(module)
- init_rng(np.int32(1000000), np.int32(0), np.int32(0), block=(self.nblocks,1,1), grid=(1000000//self.nblocks,1))
+ init_rng(np.int32(100000), np.int32(0), np.int32(0), block=(self.nblocks,1,1), grid=(100000//self.nblocks+1,1))
while not self.stopped():
try: