22 lines
370 B
Makefile
Executable File
22 lines
370 B
Makefile
Executable File
CUDA_PATH = /usr/local/apps/cuda/cuda-10.1
|
|
CUDA_BIN_PATH = $(CUDA_PATH)/bin
|
|
CUDA_NVCC = $(CUDA_BIN_PATH)/nvcc
|
|
|
|
montecarlo: montecarlo.cu
|
|
$(CUDA_NVCC) -o montecarlo montecarlo.cu
|
|
|
|
|
|
carlotest:
|
|
$(CUDA_NVCC) -o carlotest montecarlo.cu
|
|
./carlotest
|
|
rm ./carlotest
|
|
|
|
test:
|
|
$(CUDA_NVCC) --verbose -o test arrayMul.cu
|
|
|
|
|
|
clean:
|
|
rm ./montecarlo
|
|
rm ./test
|
|
rm ./carlotest
|