How to use legacy OptiX to implement ray tracing that completely relies on CUDA cores?

Hello! I want to experimentally compare the performance of hardware-accelerated ray tracing based on RT cores and ray tracing relying on CUDA cores. Which version of legacy OptiX should I use for ray tracing that relies on CUDA cores? Could you give me a sample program with the corresponding version as a reference?
Any suggestions are appreciated. Thank you in advance.

Hi @thiltuiv,

OptiX versions before 6 don’t support RT cores.

A simple test is to compare the framerates of two “equivalent” programs e.g. the path tracer.

Be careful comparing apples to apples (max. bounces and num. samples in particular).

You might find these posts interesting:

Using a very old version of optix will introduce many more differences than RTcores on/off. For instance, older versions can use completely different acceleration structures and traversal algorithms.