From 69f2911e04ffb1b19eef1fafb8c040af271f656e Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 15 Jul 2010 18:09:46 -0800 Subject: creating branch for adding support for CUDA 3.x and Fermi [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829] --- benchmarks/CUDA/CP/common/mk/cuda.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 benchmarks/CUDA/CP/common/mk/cuda.mk (limited to 'benchmarks/CUDA/CP/common/mk/cuda.mk') diff --git a/benchmarks/CUDA/CP/common/mk/cuda.mk b/benchmarks/CUDA/CP/common/mk/cuda.mk new file mode 100644 index 0000000..38f0ba2 --- /dev/null +++ b/benchmarks/CUDA/CP/common/mk/cuda.mk @@ -0,0 +1,17 @@ +# (c) 2007 The Board of Trustees of the University of Illinois. + +# Cuda-related definitions common to all benchmarks + +######################################## +# Variables +######################################## + +# Programs +CUDACC=nvcc +# Paths +# Flags +CUDACFLAGS=$(INCLUDEFLAGS) -g -Xcompiler "-m32" $(EXTRA_CUDACFLAGS) +CUDALDFLAGS=$(LDFLAGS) -Xcompiler "-m32" \ + -L$(GPGPUSIM_ROOT)/lib/ \ + -L$(PARBOIL_ROOT)/common/src $(EXTRA_CUDALDFLAGS) +CUDALIBS=-lcudart $(LIBS) -lm -lz -lGL -- cgit v1.3