-
Hi, I'm trying to print some debug info with dr.printf_async(), but I wonder where the output goes. This is the example code with no output: a = mi.Uint(1)
dr.printf_async('test %d\n', a) |
Beta Was this translation helpful? Give feedback.
Answered by
merlinND
Nov 13, 2023
Replies: 1 comment 3 replies
-
Hello @lesphere, Your example does not generate a kernel, so the the async print instruction never gets executed. The following example prints as expected: a = mi.UInt32([1, 2, 3])
dr.printf_async('test %d\n', a)
b = dr.sqr(a)
dr.eval(b) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
lesphere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @lesphere,
Your example does not generate a kernel, so the the async print instruction never gets executed. The following example prints as expected: