RTresult code = rtProgramCreateFromPTXString(context, pBuf, "draw_solid_color", &ray_gen_program);
The code result is
RT_ERROR_INVALID_SOURCE
My project can generate PTX file, and the cuda and optix are configured.
How can I resolve this problem?
pBufpoints to is well formed and null-terminated 2) Check the PTX bitness (should probably be 64 from now on) 3) No debug info in the PTX - Marco A.