(beta)c10_npu::warn_or_error_on_sync
定义文件
torch_npu\csrc\core\npu\NPUFunctions.h
接口原型
void c10_npu::warn_or_error_on_sync()
功能描述
npu同步时警告,无返回值,根据当前警告等级进行报错或警告,与void c10::cuda::warn_or_error_on_sync()相同。
父主题: C++ API
torch_npu\csrc\core\npu\NPUFunctions.h
void c10_npu::warn_or_error_on_sync()
npu同步时警告,无返回值,根据当前警告等级进行报错或警告,与void c10::cuda::warn_or_error_on_sync()相同。