From 16e5306d00c8583bb3c7d588e04822b54023e2cd Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期二, 25 四月 2023 16:15:45 +0800
Subject: [PATCH] update infer recipe
---
funasr/runtime/onnxruntime/src/alignedmem.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/alignedmem.cpp b/funasr/runtime/onnxruntime/src/alignedmem.cpp
index e174afe..d3e4b82 100644
--- a/funasr/runtime/onnxruntime/src/alignedmem.cpp
+++ b/funasr/runtime/onnxruntime/src/alignedmem.cpp
@@ -1,5 +1,5 @@
#include "precomp.h"
-void *aligned_malloc(size_t alignment, size_t required_bytes)
+void *AlignedMalloc(size_t alignment, size_t required_bytes)
{
void *p1; // original block
void **p2; // aligned block
@@ -12,7 +12,7 @@
return p2;
}
-void aligned_free(void *p)
+void AlignedFree(void *p)
{
free(((void **)p)[-1]);
}
--
Gitblit v1.9.1