Hi,
I have a struct 'DDReal' that is dependent on a class 'Base' both in seperate files. They are compiled into a DLL assembly that is called by the main program where the CUDAfying takes place.
In the main program, if I do var km = ...Cudafy(typeof(Base))
this compiles OK.
But if I do var km = ...Cudafy(typeof(Base), typeof(DDReal))
there is a compiler error - basically DDReal is translated BEFORE Base (as evidenced by the .cu file).
'Base' needs to translated first followed by 'DDReal'.
Is there anyway I can force this?
I have a struct 'DDReal' that is dependent on a class 'Base' both in seperate files. They are compiled into a DLL assembly that is called by the main program where the CUDAfying takes place.
In the main program, if I do var km = ...Cudafy(typeof(Base))
this compiles OK.
But if I do var km = ...Cudafy(typeof(Base), typeof(DDReal))
there is a compiler error - basically DDReal is translated BEFORE Base (as evidenced by the .cu file).
'Base' needs to translated first followed by 'DDReal'.
Is there anyway I can force this?