lebedov / scikit-cuda

Python interface to GPU-powered libraries
http://scikit-cuda.readthedocs.org/
Other
986 stars 179 forks source link

switch to absolute import path #227

Closed sclarkson closed 6 years ago

sclarkson commented 6 years ago

I've seen failures like

CompileError: nvcc compilation of /tmp/tmplopoyu/kernel.cu failed
[command: nvcc --cubin -I skcuda/include -arch sm_61 -I/usr/lib/python2.7/dist-packages/pycuda/cuda kernel.cu]
[stderr:
kernel.cu:5:36: fatal error: cuSpecialFuncs.h: No such file or directory
compilation terminated.
]

Using an absolute import seems more robust.

lebedov commented 6 years ago

Thanks!