For details about the mapping between AI processors and Ascend products, see Ascend Product Overview.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For the
For the
Determines whether to enable profiling. If the input parameter level is lower than the configured level, true is returned.
1 | inline bool IsEnable(Level msgLevel = level) |
Parameter |
Input/Output |
Description |
|---|---|---|
msgLevel |
Input |
Profiling level. For details, see profiler_level in 1. |
true means that profiling is enabled, and false means that profiling is disabled.