After more testing I’ve noticed that all samples in the 32bit optix binary work except for Shade Tree. When trying the 64bit binary all samples work. I guess there a bug with the 32bit build. I switched my application to a 64bit build and it seems that callable programs are working again.
Actually it seems that callable programs are still broken. The code now runs however it doesn’t not behave in an expected manor. A simple callable program which passes in a float value and prints it doesn’t appear to work. What seems to happen is that the passed in value is either considered to be 0 or some other random value. So at this point I’m probably going to drop trying use 3.6/3.6.2. Callable programs just don’t seem to work properly.
Hmm with more debugging it seems that RT_EXCEPTION_ALL may be the cause of this error. If I completely disable error reporting or use RT_EXCEPTION_STACK_OVERFLOW it seems to work properly. I’ll have to do more testing to confirm.