knightcrawler25 / Optix-PathTracer

Simple physically based path tracer based on Nvidia's Optix Ray Tracing Engine
317 stars 36 forks source link

How can I debug cu files? #13

Open ruiann opened 4 years ago

ruiann commented 4 years ago

I'm very glad to see this awesome project. But when I try to write some different shaders, I fail to set breakpoint in neither the .cu files nor the compiled ptx files with cuda-gdb. Could you please give me some guidance about the debug?