From 42cfd15e672e1ed7ad0242c1ae9e492f197599d6 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 6 Jan 2022 21:03:04 +0800 Subject: [PATCH] [pten] fix typo of device (#38760) --- paddle/pten/common/device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/pten/common/device.cc b/paddle/pten/common/device.cc index 9583b521d9..55130067ae 100644 --- a/paddle/pten/common/device.cc +++ b/paddle/pten/common/device.cc @@ -24,7 +24,7 @@ const char* DeviceTypeStr(DeviceType type) { case DeviceType::kUndef: return "kUndef"; case DeviceType::kHost: - return "kUndef"; + return "kHost"; case DeviceType::kXpu: return "kXpu"; case DeviceType::kCuda: -- GitLab