Updates for the modern era

This commit is contained in:
Steven Robertson 2013-12-21 15:32:37 -08:00
parent 328682f936
commit d832b6bc98
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ class RenderManager(ClsMod):
# Split the launch into multiple rounds, possibly (slightly) reducing # Split the launch into multiple rounds, possibly (slightly) reducing
# work overlap but avoiding stalls when working on a device with an # work overlap but avoiding stalls when working on a device with an
# active X session. TODO: characterize performance impact, autodetect # active X session. TODO: characterize performance impact, autodetect
BLOCK_SIZE = 4 BLOCK_SIZE = 16
for i in range(BLOCK_SIZE-1, nrounds, BLOCK_SIZE): for i in range(BLOCK_SIZE-1, nrounds, BLOCK_SIZE):
launch_iter(BLOCK_SIZE) launch_iter(BLOCK_SIZE)
launch_iter(nrounds%BLOCK_SIZE) launch_iter(nrounds%BLOCK_SIZE)

2
dist/server.py vendored
View File

@ -55,7 +55,7 @@ def setup_worker_listener(addrs, tq, rq):
print ' >', ' '.join(addr) print ' >', ' '.join(addr)
if task.hash not in compcache: if task.hash not in compcache:
try: try:
rsp = Renderer.compile(task.anim, arch='sm_21') rsp = Renderer.compile(task.anim, arch='sm_35')
except: except:
# Store exceptions, so that we don't try to endlessly # Store exceptions, so that we don't try to endlessly
# recompile bad genomes # recompile bad genomes