From 1c0933b4c6c4f1b1ccac2f01bc881bef6ec251ea Mon Sep 17 00:00:00 2001 From: Samir Nasibli Date: Mon, 30 Sep 2024 07:39:45 -0700 Subject: [PATCH] minor updates --- .../datatypes/data_conversion_sua_iface.cpp | 26 +------------------ sklearnex/tests/test_memory_usage.py | 4 +++ 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/onedal/datatypes/data_conversion_sua_iface.cpp b/onedal/datatypes/data_conversion_sua_iface.cpp index f81dc01d26..d60d2c7f92 100644 --- a/onedal/datatypes/data_conversion_sua_iface.cpp +++ b/onedal/datatypes/data_conversion_sua_iface.cpp @@ -207,30 +207,6 @@ void report_problem_to_sua_iface(const char* clarification) { throw std::runtime_error{ message }; } -// TODO: -// re-use convert_dal_to_sua_type instead. -std::string get_npy_typestr(const dal::data_type dtype) { - switch (dtype) { - case dal::data_type::float32: { - return "