Open szuboy opened 1 year ago
Seems like you are importing something from the cmatrices_kernel.h in the cmatrices_wrapper.c called "calculate_launcher " that hasn't been linked properly. I haven't test it with .c files, but it should work. Can you also share me the wrapper and the .h?
I'm extending my Python program with a Cuda module that uses the setuptools-cuda-cpp.
The setup.py file compiles fine, but when I try running it from Python, I get this error:
ImportError: /home/medai02/anaconda3/lib/python3.6/site-packages/my_cuda_package-0.0.1-py3.6-linux-x86_64.egg/my_cuda_package/cuda_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: calculate_launcher
The etup.py is modified based on the given example:
This is the tree of my project: