hi_tde_begin_job

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Creates a TDE job and obtains the job handle. 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. Submits a TDE task by using hi_tde_end_job after a TDE task is created and a TDE command is added.

Prototype

hi_s32 hi_tde_begin_job(hi_void)

Parameters

None

Returns

Restrictions

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