Printf not working in OptiX kernel


I’ve noticed that printf seems not to work for my environment.
I can reproduce the issue with optixHello sample in 7.6.0 SDK.
I just added printf("%u, %u\n", launch_index.x, launch_index.y); to the

It seems to still work with ordinary CUDA kernels.
Is there any change to enable kernel printf for OptiX kernel?

My environment:
Windows 11 Pro 22H2 (22621.1413)
Core i9-9900K, 32GB
RTX 4080, 16GB
Driver: 531.29

Oh, sorry, this issue has been already reported:

I’ve confirmed that printf is resurrected by setting OPTIX_FORCE_DEPRECATED_LAUNCHER to 1 as a user environment variable.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.