Skip to content
Snippets Groups Projects
Makefile 251 B
Newer Older
Erik Strand's avatar
Erik Strand committed
.PHONY: all
all: get_gpu_info saxpy saxpy_multi_gpu
Erik Strand's avatar
Erik Strand committed
get_gpu_info: get_gpu_info.cu
Erik Strand's avatar
Erik Strand committed
	nvcc get_gpu_info.cu -o get_gpu_info

saxpy: saxpy.cu
Erik Strand's avatar
Erik Strand committed
	nvcc saxpy.cu -O3 -o saxpy

saxpy_multi_gpu: saxpy_multi_gpu.cu
	nvcc saxpy_multi_gpu.cu -O3 -o saxpy_multi_gpu