Function: mark_ex
Applicable Products
- Ascend 950PR&950DT products: Supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
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
aclError aclprofMarkEx(const char *msg, size_t msgLen, aclrtStream stream) -
Python Function
ret = acl.prof.mark_ex(msg, stream)
Parameters
| Parameter | Description |
|---|---|
| msg | Str, dotting information string. |
| stream | Int, stream. |
Return Values
| Return Value | Description |
|---|---|
| ret | int. If 0 is returned, the operation is successful. If other values are returned, the operation fails. |