提交 690b1491 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merged -- no conflict

...@@ -12,7 +12,7 @@ if os.path.exists(os.path.join(config.compiledir,'cutils_ext.so')): ...@@ -12,7 +12,7 @@ if os.path.exists(os.path.join(config.compiledir,'cutils_ext.so')):
# compile the cutils_ext module simultaneously. # compile the cutils_ext module simultaneously.
try: try:
# If we load a previously-compiled version, config.compiledir should # If we load a previously-compiled version, config.compiledir should
# by in sys.path # be in sys.path.
if config.compiledir not in sys.path: if config.compiledir not in sys.path:
sys.path.append(config.compiledir) sys.path.append(config.compiledir)
from cutils_ext.cutils_ext import * from cutils_ext.cutils_ext import *
......
...@@ -76,7 +76,7 @@ if os.path.exists(cuda_ndarray_so): ...@@ -76,7 +76,7 @@ if os.path.exists(cuda_ndarray_so):
if not compile_cuda_ndarray: if not compile_cuda_ndarray:
try: try:
# If we load a previously-compiled version, config.compiledir should # If we load a previously-compiled version, config.compiledir should
# by in sys.path # be in sys.path.
if config.compiledir not in sys.path: if config.compiledir not in sys.path:
sys.path.append(config.compiledir) sys.path.append(config.compiledir)
from cuda_ndarray.cuda_ndarray import * from cuda_ndarray.cuda_ndarray import *
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论