hi_mpi_vb_handle_to_addr

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Description

Converts a memory block handle into an address.

Prototype

hi_void* hi_mpi_vb_handle_to_addr(hi_vb_blk vb_blk)

Parameters

Parameter

Input/Output

Description

vb_blk

Input

Memory block handle, which is returned by the hi_mpi_vb_get_block API.

Returns

  • Returns the address if the call is successful.
  • Returns nothing if the call fails.