From 40cb853e214ca009d052a75877f6db1dd16bdcb0 Mon Sep 17 00:00:00 2001 From: Dun Liang Date: Wed, 15 Sep 2021 17:47:33 +0800 Subject: [PATCH] update version 103 for windows --- doc/source/README.cn.md | 0 python/jittor/__init__.py | 2 +- python/jittor/src/mem/allocator/aligned_allocator.cc | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) mode change 120000 => 100644 doc/source/README.cn.md diff --git a/doc/source/README.cn.md b/doc/source/README.cn.md deleted file mode 120000 index 9c599289..00000000 --- a/doc/source/README.cn.md +++ /dev/null @@ -1 +0,0 @@ -../../README.cn.md \ No newline at end of file diff --git a/doc/source/README.cn.md b/doc/source/README.cn.md new file mode 100644 index 00000000..9c599289 --- /dev/null +++ b/doc/source/README.cn.md @@ -0,0 +1 @@ +../../README.cn.md \ No newline at end of file diff --git a/python/jittor/__init__.py b/python/jittor/__init__.py index 0a9fb326..2813f43c 100644 --- a/python/jittor/__init__.py +++ b/python/jittor/__init__.py @@ -9,7 +9,7 @@ # file 'LICENSE.txt', which is part of this source code package. # *************************************************************** -__version__ = '1.2.3.102' +__version__ = '1.2.3.103' from jittor_utils import lock with lock.lock_scope(): ori_int = int diff --git a/python/jittor/src/mem/allocator/aligned_allocator.cc b/python/jittor/src/mem/allocator/aligned_allocator.cc index 4f936452..ba50bdc2 100644 --- a/python/jittor/src/mem/allocator/aligned_allocator.cc +++ b/python/jittor/src/mem/allocator/aligned_allocator.cc @@ -21,6 +21,7 @@ void* AlignedAllocator::alloc(size_t size, size_t& allocation) { return new char[size]; #else return aligned_alloc(alignment, size); + #endif #else return _aligned_malloc(size, alignment); #endif