hi_tde_begin_job

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Creates a TDE job and obtains the job handle. The TDE manages TDE commands as job. A TDE job corresponds to a set of one or more TDE commands. The commands in a TDE job are executed in sequence, as shown in the following figure. After a TDE job is created and a TDE command is added, you can submit the job by calling hi_tde_end_job.

Prototype

hi_s32 hi_tde_begin_job(hi_void)

Parameters

None

Returns

Restrictions

  • This API can be called only after the TDE device is opened by calling hi_tde_open.
  • The TDE can execute a maximum of 200 jobs or commands at the same time.
  • hi_tde_begin_job must be used with hi_tde_end_job.
  • This API does not support multiple processes.