GetRuntimeVersion#

Fully qualified name: cupva::GetRuntimeVersion

Defined in src/host/shared/include/install/cupva_host_common.hpp

uint32_t cupva::GetRuntimeVersion() noexcept#

Get the version of the CUPVA runtime library.

This API will always return the current maj.min version of the CUPVA runtime library, represented as MAJOR * 1000 + MINOR. For example, with CUPVA 2.5.3 this API would return 2005.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: Yes

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

Returns:

The version of the CUPVA runtime library.

Pre:

None