Function: mark_ex

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

acl.prof.mark_ex dotting API.

This API is used to deliver dotting tasks to a configured stream to identify the relationship between the dotting task on the host and that on the device.

Prototype

  • C Prototype
    1
    aclError aclprofMarkEx(const char *msg, size_t msgLen,aclrtStream stream)
    
  • Python Function
    1
    ret = acl.prof.mark_ex(msg, stream)
    

Parameters

Parameter

Description

msg

Str, dotting information string.

stream

Int, stream.

Return Value

Return Value

Description

ret

Int, 0 on success; else, failure.

Reference

Use this API together with the acl.prof.finalize API. Call acl.prof.init first and then acl.prof.finalize.