cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Add a test or "example" which instantiates as many templates as possible

Open eyalroz opened this issue 8 months ago • 0 comments

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.

eyalroz avatar Feb 14 '25 10:02 eyalroz