I’m using Optix SDK 3.9.1 on CUDA 7.5, Ubuntu 14.04 64bit, GTX 1050 Ti.
I want to solve a part of my project on CPU and use the result data in ray tracing. Firstly, I made a simple summation code and compiled it just for checking that linking is possible or not. I have got libsum.so file now and I want to link this shared object with tutorial.cpp. How can I link and run libsum.so with tutorial.cpp?
There is a connection between tutorial and sutil but I could not add my .so path inside build.make like libsutil.so does (SDKbuild/tutorial/CMakeFiles/tutorial.dir/build.make). In the depend.make file, it has also header files path of sutil. Unfortunately, I could not find a way to link. I hope someone can help me.