-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Boton Chou edited this page Nov 2, 2013
·
2 revisions
Welcome to the libcumatrix wiki!
The only thing libcumatrix needed is CUDA. On linking, libcumatrix needs:
-
-lcuda (libcuda.so)
-
-lcublas (libcublas.so)
-
-lcudart (libcudart.so)
By default, the root directories containing CUDA is "/usr/local/cuda". If you wish to change it, open the "Makefile" and change CUDA_ROOT to where it lies.
Just type "make" and run the following programs:
-
./benchmark
-
./example1
-
./example2
For an older version of CUDA sdk, Thrust Library did not lie directly in "/include/thrust" (something like /include/thrust-1.5.1). Create a symbolic link for it using the following command:
$ ln -s /usr/local/cuda/include/thrust-1.5.1 /usr/local/cuda/include/thrust