ConvertTo#

Fully qualified name: cupva::ConvertTo

Defined in cupva_host_conversions.hpp

void cupva::ConvertTo(
Executable input,
cupvaExecutable_t &output,
) noexcept#

Convert from a C++ Executable object to a C API cupvaExecutable_t.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: No

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

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.

Pre:

None