I am using structs inside my CUDA application, and thought I would lift them out and place them in a separate “common” project (using visual studio here) where I keep my shared classes and objects.
Alternative:
-
“common” project is of c# type, can I have native C in it aswell and have it reached from my CUDA project?
-
Setting up a separate native C project and reaching it from my CUDA project.
-
Like 2, but compile it to a dll.
So far I only got alternativ 2 and 3 working as of reaching the native objects from other c# projects, never from my CUDA one. I never get it to recognize the namespace even.
Any thoughts?