I’m getting an error I can’t understand:
rtProgramCreateFromPTXString: Unknown error (Details: Function "RTresult _rtProgramCreateFromPTXString(RTcontext, const char*, const char*, RTprogram_api**)" caught exception: Compile Error: Unknown Value when trying to figure out pointer space for ray payload argument to rt_trace at: [ i64 %2 ])
The code in this case is my main integration function, which I’m trying to move into a separate RT_CALLABLE_PROGRAM to give me switchable integrators. The same code works fine when called as a regular function from my ray generation program, but moving it to a separate file and prefixing with RT_CALLABLE_PROGRAM gives me this error when compiling the PTX.
What exactly is the error message trying to tell me?