davidAlgis / InteropUnityCUDA

Demonstrate interoperability between Unity Engine and CUDA
MIT License
36 stars 3 forks source link

Add better error support #5

Closed davidAlgis closed 1 year ago

davidAlgis commented 1 year ago

For now, when there are errors, most of the time the application just crash.

davidAlgis commented 1 year ago

Maybe add to all function a struct that contains an error code

davidAlgis commented 1 year ago

I add some return code in the main method of interop class, moreover the action can't be disabled if there has been an error see. e6a5db3585b3cf0d5b97cee4d8324e187abbca43