How to compile CUDA C++ project with dynamically linked library and get called via JAVA JNI