eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
766 stars 79 forks source link

Drop `examples/rtc_common.hpp`, use cuda::rtc::render to print compilation options #631

Closed eyalroz closed 3 months ago

eyalroz commented 4 months ago

The examples/rtc_common.hpp file only contains two functions, both regard printing compilation options. These are, in fact, unnecessary, since the wrappers offer cuda::rtc::render(), which gets us an std::string representation of the options. So, let's get rid of that code and its uses.

Note that this will remove the only use of cuda::rtc::marshalled_options_t in our example code.