-
Navigate to the
src
folder:cd src
-
Compile the code:
nvcc -o original_unified original_unified.cu
-
Run the compiled code with a specific input file (e.g., matrix100.txt):
./original_unified -f ../data/matrix100.txt
-
Navigate to the
src
folder:cd src
-
Compile the code with the cusolver library:
nvcc -o cusolve_unified cusolve_unified.cu -lcusolver
-
Run the compiled code with a specific input file (e.g., matrix100.txt):
./cusolve_unified ../data/matrix100.txt