hi_mpi_vb_create_pool

Applicable Products

Product

Supported

Ascend 950PR&950DT products

☓

Atlas A3 products

☓

Atlas A2 products

☓

Atlas 200I/500 A2 inference products

☓

Atlas inference products

☓

Atlas training products

☓

Function

Creates a memory pool.

Prototype

hi_vb_pool hi_mpi_vb_create_pool(const hi_vb_pool_config *vb_pool_cfg)

Parameters

Parameter

Input/Output

Description

vb_pool_cfg

Input

Memory pool configuration parameter.

Returns

  • Success: The memory pool ID is returned.
  • Failure: HI_VB_INVALID_POOLID is returned, indicating that the memory pool ID is invalid.