cuda-api-wrappers
cuda-api-wrappers copied to clipboard
Add a test or "example" which instantiates as many templates as possible
One of the reasons I sometimes fail to weed out bugs in the library is, that some of its code is templated, and is not instantiated in any of the example programs; and - we don't have unit test coverage of that code (or any code). See the recent #713 for an example.
It would be useful if we could have a program which does nothing but instantiate otherwise-uninstantiated code. That would trigger compiler errors and warnings about such code, even without thoroughly checking its validity.