InteropUnityCUDA icon indicating copy to clipboard operation
InteropUnityCUDA copied to clipboard

Unity calling CUDA becomes slower

Open Sakura-hana-bit opened this issue 7 months ago • 1 comments

I tried packaging my own CUDA code into a DLL for Unity to call, but found that its performance was actually 10 times slower compared to calling it from an executable. I'm very confused about this and would appreciate your insights.

Sakura-hana-bit avatar Jul 02 '25 09:07 Sakura-hana-bit

It's indeed disconcerting. Could I access your source code to see for myself?

davidAlgis avatar Jul 02 '25 09:07 davidAlgis