hi_mpi_vb_create_pool
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
Function Description
This API is called to create 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.
- If the operation fails, HI_VB_INVALID_POOLID is returned, indicating that the memory pool ID is invalid.
Parent topic: Common APIs