hi_tde_cancel_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

After calling hi_tde_begin_job to create a task and before calling hi_tde_end_job to submit the task, you can call this API to cancel the corresponding TDE task and commands in the task.

Prototype

hi_s32 hi_tde_cancel_job(hi_s32 handle)

Parameters

Parameter

Input/Output

Description

handle

Input

Handle to a TDE job.

Returns

Restrictions

  • This API cannot be called to cancel a job that has been submitted by calling hi_tde_end_job.
  • A canceled job is no longer valid. You cannot add commands to the job submit the job.
  • This API does not support multiple processes.