dynamic_load_runtime
loads the cuda runtime library at runtime
More...
#include <dynamic_load_runtime.hpp>
Public Types | |
template<typename... Args> | |
using | function_sig = std::add_pointer_t< cudaError_t(Args...)> |
Static Public Member Functions | |
static void * | get_cuda_runtime_handle () |
template<typename signature > | |
static std::optional< signature > | function (const char *func_name) |
dynamic_load_runtime
loads the cuda runtime library at runtime
By loading the cudart library at runtime we can use functions that are added in newer minor versions of the cuda runtime.