forked from jittor/jittor
update version 103 for windows
This commit is contained in:
parent
500dfc6ee3
commit
40cb853e21
|
@ -1 +0,0 @@
|
|||
../../README.cn.md
|
|
@ -0,0 +1 @@
|
|||
../../README.cn.md
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue