|
cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
Definitions related to CUDA linking-processes, captured by the link_t wrapper class. More...
Namespaces | |
| input | |
| Definitions relating to inputs to CUDA linking-processes. | |
Classes | |
| struct | options_t |
| A convenience class for holding, setting and inspecting options for a CUDA binary code linking process - which may also involve PTX compilation. More... | |
Typedefs | |
| using | handle_t = CUlinkState |
| A raw CUDA driver handle for a linking-process. | |
Enumerations | |
| enum | input_kind_t { cubin, input_kind_t::ptx, input_kind_t::fatbin, input_kind_t::object, input_kind_t::library } |
| Kinds of images which can be used by the linker (some may require driver compilation work) More... | |
| enum | fallback_strategy_for_binary_code_t { prefer_compiling_ptx = 0, prefer_using_compatible_binary = 1 } |
| Possible strategies for obtaining fully-compiled binary code for a target device when it is not immediately available. More... | |
Functions | |
| link_t | wrap (device::id_t device_id, context::handle_t context_handle, link::handle_t handle, const link::options_t &options, bool take_ownership=false) noexcept |
| Wrap an existing CUDA link-process in a link_t wrapper class instance. More... | |
| link_t | create (const void *image, const link::options_t &options) |
| link_t | create (const link::options_t &options=link::options_t{}) |
| Create a new link-process (before adding any compiled images or or image-files) | |
Definitions related to CUDA linking-processes, captured by the link_t wrapper class.
Possible strategies for obtaining fully-compiled binary code for a target device when it is not immediately available.
|
strong |
Kinds of images which can be used by the linker (some may require driver compilation work)
|
inlinenoexcept |