ConvertTo#

Fully qualified name: cupva::ConvertTo

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

void cupva::ConvertTo(BaseCmd input, cupvaCmd_t &output) noexcept#

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

  • output – The C API object to fill with the result. Will be fully initialized. Any existing state will overwritten without resources being released.