ConvertTo#

Fully qualified name: cupva::ConvertTo

Defined in src/host/conversions/include/cupva_host_conversions.hpp

void cupva::ConvertTo(
BaseDataFlow input,
cupvaDataFlow_t &output,
) noexcept#

Convert from a C++ BaseDataFlow object to a C API cupvaDataFlow_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.