I have updated my Optix version from 250 to 300B1 recently and am getting a “Invalid context (Details: Function “_rtContextCompile” caught exception: Validation error: Duplicated CUDA context: Existing CUcontext cuda_dev:0/optix_dev:0 is replaced by cuda_dev:0/optix_dev:0, )” from ContextObj::compile().
There are two active contexts at one time in this execution. There is no error if I rebuild with Optix250.
Is there any workaround for this ?
My environment is