For details about the mapping between AI Processors and Ascend products, see Ascend Product Form Description.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
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 |
A specified collection level. For details, see profiler_level in the profiling configuration file. |
true means to enable profiling; false indicates that profiling is disabled.