aclprofStr2Id

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

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.

hashId

Output

Hash ID.

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 in pair with aclprofRangePushEx and aclprofRangePop and before aclprofRangePushEx.