I am trying to use Optix 7 sdk in my code. All initialzation, module , pipeline, program creation goes fine without any error. Currently I have kept rayGen and hit, miss function empty just to check. Following is the optixLauch call
OptixResult e = optixLaunch( m_pipeline, (CUstream)m_device->getStream(), (CUdeviceptr)m_lauchParamsBuffer.m_ptr, sizeof(LaunchParams), &m_sbt, nRays, 1, 1 );
This call generates OPTIX_ERROR_CUDA_ERROR. I am not sure what is reason.
I have tried reducing size of execution to 1, 1 ,1 the error persists.
I have checked sbt, pipeline objects they are created without any errors being thrown. To confirm after each of this object creation I sync device so in case they are asyn and failing I can catch but, no luck there.
Can some one suggest me what that error exactly means and where I can look?
P.S : I am trying it on windows, 2080 Ti , Game ready 466.27 driver version.