ConvertTo#
Fully qualified name: cupva::ConvertTo
Defined in src/host/conversions/include/cupva_host_conversions.hpp
-
void cupva::ConvertTo(Context input, cupvaContext_t &output) noexcept#
Convert from a C++ Context to a C API cupvaContext_t.
After calling this function, both the C++ and C API objects will be valid and must be destroyed by caller.
Usage considerations
Allowed context for the API call
Thread-safe: No
API group
Init: No
Runtime: Yes
De-Init: No
- Parameters:
input – The C++ API input object.
output – The C API object to fill with the result. Will be fully initialized. Any existing state will overwritten without resources being released.