Thanks. I’ll close the bug about the failed compilation for now and check on status about surface access issues.
Right, the OptiX 6.5.0 programming guide contains the recommendation to avoid the nvcc --device-debug (-G) flag, but I haven’t found anything about it inside the OptiX 7 programming guide.
OptiX behaves like this for over ten years now. Maybe one day it will finally handle it, but I won’t hold my breath. ;-)