diff options
author | Stan Seibert <stan@mtrr.org> | 2012-01-24 16:20:14 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | fd835f2266fdf28febb7e15591c907f8f28776f8 (patch) | |
tree | f601ac428c4248b19fcd0779cd9d9b2ee43f51d8 | |
parent | a302076191a4600da66bd461e1c2d568d341ed34 (diff) | |
download | chroma-fd835f2266fdf28febb7e15591c907f8f28776f8.tar.gz chroma-fd835f2266fdf28febb7e15591c907f8f28776f8.tar.bz2 chroma-fd835f2266fdf28febb7e15591c907f8f28776f8.zip |
Increase look ahead in node_swap BVH optimization to improve surface area minimization
-rw-r--r-- | chroma/gpu/bvh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chroma/gpu/bvh.py b/chroma/gpu/bvh.py index 7f2794e..3a70fcc 100644 --- a/chroma/gpu/bvh.py +++ b/chroma/gpu/bvh.py @@ -216,7 +216,7 @@ def optimize_layer(orig_nodes): test_index = i * 2 blocks = 0 - look_forward = min(8192, n - test_index - 2) + look_forward = min(8192*50, n - test_index - 2) skip_this_round = min(skip_size, n - test_index - 1) flag[:] = 0 for first_index, elements_this_iter, nblocks_this_iter in \ |