From f36726edd25e2c7f7a0503762e250f800b5efb40 Mon Sep 17 00:00:00 2001 From: jianyuzh Date: Tue, 12 Mar 2024 11:30:59 +0800 Subject: [PATCH] rename function --- ggml-sycl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index 2a048b49b..7a6f83b35 100644 --- a/ggml-sycl.cpp +++ b/ggml-sycl.cpp @@ -83,7 +83,7 @@ Following definition copied from DPCT head files, which are used by ggml-sycl.cp #endif -std::string getDeviceTypeName(const sycl::device &Device) { +std::string get_device_type_name(const sycl::device &Device) { auto DeviceType = Device.get_info(); switch (DeviceType) { case sycl::info::device_type::cpu: @@ -102,7 +102,7 @@ std::string getDeviceTypeName(const sycl::device &Device) { std::string get_device_backend_and_type(const sycl::device &device) { std::stringstream device_type; sycl::backend backend = device.get_backend(); - device_type << backend << ":" << getDeviceTypeName(device); + device_type << backend << ":" << get_device_type_name(device); return device_type.str(); }