Hi!
Is there a easy way to copy cuda array to opengl texture by one function without:
cudaGraphicsMapResources → cudaGraphicsSubResourceGetMappedArray → copy → UnmapResources ??
P.S. The reason is next: in each frame-iteration of raycasting I map for picture, tnen I create two threads for two GPUs for raycasting (half on screen on each of them) and then I unmap Ouputput. In this case somehow map/unmap takes a loooot of time and extremely downgrade fps. I didn`t find any explanation of this.