acl.himpi.sys_init

C Prototype

hi_s32 hi_mpi_sys_init(hi_void)

Python Function

ret = acl.himpi.sys_init()

Function Usage

Initializes the low-level hardware of the media data processing system before processing media data such as images and videos.

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

The Atlas Training Series Product does not support this API.

Return Value

ret: int, error code.

0 indicates success.

Other values: failure. For details, see Common Return Codes.

Restrictions

  • This API must be called after pyACL runtime resources are allocated. For details, see Runtime Resource Allocation.
  • In multi-process scenarios, all processes must call this API to implement initialization.
  • In a single process, repeated calls to this API return no failures.
  • If there are multiple devices, initialize each device by calling acl.himpi.sys_init.