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

Accept vectors of std::strings for setting NVRTC definition terms and values

Open eyalroz opened this issue 3 years ago • 1 comments

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.

eyalroz avatar Sep 09 '22 17:09 eyalroz

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

eyalroz avatar Sep 10 '22 19:09 eyalroz