ConvertTo#
Fully qualified name: cupva::ConvertTo
Defined in src/host/conversions/include/cupva_host_conversions.hpp
- void cupva::ConvertTo(
- CmdBuffer input,
- cupvaCmdBuffer_t &output,
Convert from a C++ CmdBuffer to a C API cupvaCmdBuffer_t.
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. Use std::move for first arg in func call, i.e. ConvertTo(std::move(input), output).
output – The C API object to fill with the result. Will be fully initialized. Any existing state will overwritten without resources being released.