; readWord success
  
how to use CUDA C program in Python cella 2017 Branchable 0 12334
  

https://stackoverflow.com/questions/43002915/loading-a-shared-library-cuda-in-python-via-ctypes-cannot-dynamically-load

in short:
$ nvcc --ptxas-options=-v --compiler-options '-fPIC' --shared -o test_function.so testCuda.cu

the reference document linked from the above:

http://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/#options-for-altering-compiler-linker-behavior