How do you store the variable with the bindless callable program ID and how do you call it?
The OptiX host side cannot always determine that it’s a continuation call automatically.
The listings 4.43 and 4.44 in the link above show which cases work automatically, resp. which need manual instrumentation with
rtMarkedCallableProgramId on device side and rtProgramCallsiteSetPotentialCallees on host side.