hi_mpi_vb_create_pool

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

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

  • Returns the memory pool ID if the call is successful.
  • Returns HI_VB_INVALID_POOLID that indicates an invalid memory pool ID if the call fails.