From 7ab2e5cf22bbb31808bcacf84c054c710e4e6a93 Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期一, 24 四月 2023 16:19:17 +0800
Subject: [PATCH] Merge pull request #400 from alibaba-damo-academy/dev_knf

---
 funasr/runtime/onnxruntime/src/tensor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/Tensor.h b/funasr/runtime/onnxruntime/src/tensor.h
similarity index 98%
rename from funasr/runtime/onnxruntime/src/Tensor.h
rename to funasr/runtime/onnxruntime/src/tensor.h
index 68ac9aa..3b7a633 100644
--- a/funasr/runtime/onnxruntime/src/Tensor.h
+++ b/funasr/runtime/onnxruntime/src/tensor.h
@@ -71,7 +71,7 @@
 {
     buff_size = size[0] * size[1] * size[2] * size[3];
     mem_size = buff_size;
-    buff = (T *)aligned_malloc(32, buff_size * sizeof(T));
+    buff = (T *)AlignedMalloc(32, buff_size * sizeof(T));
 }
 
 template <typename T> void Tensor<T>::free_buff()

--
Gitblit v1.9.1