zed-unity icon indicating copy to clipboard operation
zed-unity copied to clipboard

Get CUDA Context

Open flaming910 opened this issue 4 years ago • 1 comments

I am trying to use the ZED in an application in which I have my own plugin that does things with CUDA, and I was wondering if it is possible to get the CUDA context in the unity plugin(the same way the cpp sdk allows) so I can get both of them on the same context to avoid context switching which causes slowdowns.

flaming910 avatar Jan 23 '20 14:01 flaming910

This could also be further improved if the CUDA operations could happen on something other than the main thread allowing for threaded operations on the GPU, which would then allow other CUDA plugins to work at the same time.

flaming910 avatar Feb 28 '20 13:02 flaming910