hi_tde_cancel_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

After a job is created by calling hi_tde_begin_job and before the job is submitted by calling hi_tde_end_job, cancels the corresponding TDE job and the commands in the job.

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.