Remind developer to use [Cudafy] attribute

Dec 19, 2011 at 6:22 PM

Currently the developer doesn't get reminded to use the [Cudafy] attribute on every type that's included in the argument to the Translator.Cudafy method -- the compilation ends with an error about the relevant type not being defined. Instead, the error should somehow remind the developer to check that the type is marked with the [Cudafy] attribute.

- Ola (*dead tired from excessive debugging*)

Dec 21, 2011 at 9:32 AM

Good idea.  All structs passed to the Cudafy method will be checked for the CudafyAttribute.