- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
I am porting some cuda code and it uses cuda functions:
- cuGraphicsMapResources
- cuGraphicsResourceGetMappedPointer
- cuGraphicsGLRegisterBuffer
- cuGraphicsUnregisterResource and
- cuGraphicsUnmapResources
As per my understanding of the code, these functions are allowing cuda code to interact with OpenGL buffers. I understand that there is no direct interoperability between OneAPI and OpenGL and it has to be done through OpenCL interop.
Can you please suggest which functions can I use instead of cuda functions mentioned above?
Regards,
Gagan
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
That's correct, there's no direct interoperability between oneAPI and OpenGL currently. You may refer to the tutorial on OpenCL and OpenGL interoperability in the link below:
DPCT subject matter experts will get in touch with you shortly regarding equivalent DPCPP functions.
Thanks,
Rahul
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The following articles can help with the DPC++,OpenCL and OpenGL interop.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only