I justed tried to use the Optix interop.
When I tried to get the pointer for a valid pointer, the following error occured:
Invalid value (Details: Function “_rtBufferGetDevicePointer” detected error: Pointer “device_pointer” is null)
The buffer is for sure valid:
m_context[“ultrasound_buffer”]->setBuffer(m_context->createBuffer( RT_BUFFER_INPUT_OUTPUT, RT_FORMAT_FLOAT, m_iSamplePoints, m_iRays, m_iDimZ_mul2));
The Device is for sure 0.
Any hints what could be the problem?