engine/rr: build the Ray Reconstruction models from nvngx_dlssd.dll alone, without a capture
Models built from nvngx_dlssd.dll 310.9.1 are byte-identical to the capture-built ones (every file, plus d4r-rr's outputs on capF, capF4K, capF900, capFXparticles and capDT). 310.9.1 contains 310.7's D/E kernels and weights.
This commit is contained in:
1 parent
e3606cedf9
commit
5f520a186d
7 files changed
+508
-45
No files matched your search
@@ -133,8 +133,11 @@ def noise_table(dll):
|
||||
if b - a >= 2048:
|
||||
t = u[b - 2048:b]
|
||||
if len(np.unique(t)) > 1024 and (t & 31 == 31).sum() > 256:
|
||||
found.append(t.tobytes())
|
||||
return found[0] if len(set(found)) == 1 else None # some DLLs hold the same table twice
|
||||
found.append((2 * (b - 2048), t.tobytes()))
|
||||
# 310.9.1 also holds a second, unreferenced array of this kind at an odd address; the table the code uses is aligned
|
||||
if len({t for _, t in found}) > 1:
|
||||
found = [(at, t) for at, t in found if at % 16 == 0]
|
||||
return found[0][1] if len({t for _, t in found}) == 1 else None # some DLLs hold the same table twice
|
||||
|
||||
|
||||
class Reader:
|
||||
|
||||
Reference in new issue
Block a user