cuda-api-wrappers
cuda-api-wrappers copied to clipboard
Accept vectors of std::strings for setting NVRTC definition terms and values
We already have multiple variants of set_headers() and add_headers() implemented. However - those templated variants which take containers or container pairs assume the element type is a constant C-style string of constant characters (const char* const). What if the user has vectors of std::strings? It's a legitimate scenario... let' cater to it.
This fix is against the ptx-compilation branch, which will likely become v0.6. That's not very far off, but I'm not sure I want to port this back for v0.5.5