Encountered a rtcore error: m_api.deviceContextCreateForCUDA( context, properties, devctx )

Hi,

I am trying to run optix_advanced_samples on my machine.

I can run the optixDeviceQuery and primeSimple, but when I run optixConsole here comes a new error:

terminate called after throwing an instance of ‘optix::Exception’
what(): Unknown error (Details: Function “RTresult _rtBufferCreate(RTcontext, unsigned int, RTbuffer_api**)” caught exception: Encountered a rtcore error: m_api.deviceContextCreateForCUDA( context, properties, devctx ) returned (2147483647): Unknown)
Aborted (core dumped)

Here is my configuration: Optix 6.5, Cuda 10.2, driver 455.28, RTX 3080 GPU, and Ubuntu 18.04.

Here is how I configure ccmake:

I also tried compile the renderer using cuda 11.1, but it still doesn’t work. I do have posted the issue here and got replied. I really appreciate for the help. Since it is an urgent case for me, I open a new topic here to see if someone else has encountered this issue. I really appreciate it if someone can help me! Thanks in advance!