aclprofStr2Id

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

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

√

Function

msproftx converts a string into a hash ID.

Prototype

1
uint64_t aclprofStr2Id(const char *message)

Parameters

Parameter

Input/Output

Description

message

Input

Character information, for example, operator name.

Returns

Hash ID. If the value is the maximum value of the uint64_t type, the operation fails. Otherwise, the operation is successful.

Restrictions

This API must be used together with aclprofRangePushEx and aclprofRangePop and before aclprofRangePushEx.