from fastrlock cimport rlock
^
------------------------------------------------------------
cupy/cuda/memory.pyx:11:0: 'fastrlock.pxd' not found
Traceback (most recent call last):
File "setup.py", line 30, in <module>
ext_modules = cupy_setup_build.get_ext_modules()
File "/home/sonots/cupy/branch_fix_race_condition_memory_pool_fastrlock/cupy_setup_build.py", line 371, in get_ext_modules
extensions = cythonize(extensions, arg_options)
File "/home/sonots/cupy/branch_fix_race_condition_memory_pool_fastrlock/cupy_setup_build.py", line 342, in cythonize
compiler_directives=directives, **cythonize_options)
File "/home/sonots/.pyenv/versions/3.6.1/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 934, in cythonize
cythonize_one(*args)
File "/home/sonots/.pyenv/versions/3.6.1/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 1056, in cythonize_one
raise CompileError(None, pyx_file)
although I found following works:
from fastrlock.rlock cimport create_fastrlock
from fastrlock.rlock cimport lock_fastrlock
from fastrlock.rlock cimport unlock_fastrlock
With setup.py
and
, I got a following error:
although I found following works:
My python and cython version is as follows: