Skip to content
Snippets Groups Projects
Commit 756a2534 authored by Rafael Ravedutti's avatar Rafael Ravedutti
Browse files

Fix CUDA compilation


Signed-off-by: default avatarRafael Ravedutti <rafaelravedutti@gmail.com>
parent 276b8405
No related merge requests found
...@@ -23,7 +23,9 @@ lj_cpu: lj_ns.cpp ...@@ -23,7 +23,9 @@ lj_cpu: lj_ns.cpp
lj_gpu: lj_ns.cu lj_gpu: lj_ns.cu
mpic++ -c -o pairs.o runtime/pairs.cpp -DDEBUG mpic++ -c -o pairs.o runtime/pairs.cpp -DDEBUG
mpic++ -c -o regular_6d_stencil.o runtime/domain/regular_6d_stencil.cpp -DDEBUG mpic++ -c -o regular_6d_stencil.o runtime/domain/regular_6d_stencil.cpp -DDEBUG
nvcc -o lj_gpu runtime/devices/cuda.cu runtime.o regular_6d_stencil.o lj_ns.cu nvcc -c -o cuda_runtime.o runtime/devices/cuda.cu -DDEBUG
nvcc -c -o lj_gpu.o lj_ns.cu -DDEBUG
mpic++ -o lj_gpu lj_gpu.o cuda_runtime.o pairs.o regular_6d_stencil.o -lcudart -L/usr/local/cuda/lib64
clean: clean:
@echo "Cleaning..." @echo "Cleaning..."
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment