ConvertTo#
Fully qualified name: cupva::ConvertTo
Defined in src/host/conversions/include/cupva_host_conversions.hpp
- void cupva::ConvertTo(
- OffsetPointer<void const> input,
- cupvaOffsetPointer_t &output,
Convert from a C++ OffsetPointer object to a C API cupvaOffsetPointer_t.
After calling this function, both the C++ and C API objects will be valid and must be destroyed by caller.
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.