未验证 提交 42cfd15e 编写于 作者: L Leo Chen 提交者: GitHub

[pten] fix typo of device (#38760)

上级 3d3bc681
...@@ -24,7 +24,7 @@ const char* DeviceTypeStr(DeviceType type) { ...@@ -24,7 +24,7 @@ const char* DeviceTypeStr(DeviceType type) {
case DeviceType::kUndef: case DeviceType::kUndef:
return "kUndef"; return "kUndef";
case DeviceType::kHost: case DeviceType::kHost:
return "kUndef"; return "kHost";
case DeviceType::kXpu: case DeviceType::kXpu:
return "kXpu"; return "kXpu";
case DeviceType::kCuda: case DeviceType::kCuda:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册