Skip to content

Commit 1f08b94

Browse files
Added warning text to documentation
1 parent 6166201 commit 1f08b94

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

drjit/__init__.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,12 +2483,6 @@ def f(x, y, z):
24832483
`dr.arange(UInt32, dr.width(a))`, where the result only implicitly depends on
24842484
the width value.
24852485
2486-
- @Christian: Should we say something about calling frozen functions from
2487-
other frozen functions?
2488-
2489-
- @Christian: Any other caveats? Is the part about dr.mean() still relevant? I
2490-
had removed that part since I thought we had a solution for dr.mean().
2491-
24922486
**Advanced features**. The :py:func:`@dr.freeze <drjit.freeze>` decorator takes
24932487
several optional parameters that are helpful in certain situations.
24942488
@@ -2508,7 +2502,10 @@ def f(x, y, z):
25082502
...
25092503
>>> f(Int(1))
25102504
>>> f(Float(1))
2511-
>>> <<< @Christian: needs an example of what the warning looks like
2505+
The frozen function has been recorded 2 times, this indicates a problem
2506+
with how the frozen function is being called. For example, calling it
2507+
with changing python values such as an index. For more information about
2508+
which variables changed set the log level to ``LogLevel::Debug``.
25122509
25132510
- **Limiting memory usage**. Storing kernels for many possible input
25142511
configuration requires device memory, which can become problematic. Set the

0 commit comments

Comments
 (0)