For details about the mapping between Ascend AI Processors and Ascend products, see Ascend Product Overview.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For the
For the
Creates and activates a Span.
1 | static Span StartSpanAsActive(const char* spanName, const char* moduleName = nullptr,bool autoEnd = true) |
Parameter |
Input/Output |
Description |
|---|---|---|
spanName |
Input |
Span name. |
moduleName |
Input |
(Optional) Module name. |
autoEnd |
Input |
Whether to automatically end the trace; defaults to true. |
Returns the object of the Span class.