mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Updates for the modern era
This commit is contained in:
parent
328682f936
commit
d832b6bc98
@ -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
2
dist/server.py
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user