diff options
| author | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-07-15 18:09:46 -0800 |
| commit | 69f2911e04ffb1b19eef1fafb8c040af271f656e (patch) | |
| tree | 231d3b6bdc3a202f7c255bfcf7bf2c36e32cee9e /benchmarks/CUDA/CP/common/mk/cuda.mk | |
creating branch for adding support for CUDA 3.x and Fermi
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829]
Diffstat (limited to 'benchmarks/CUDA/CP/common/mk/cuda.mk')
| -rw-r--r-- | benchmarks/CUDA/CP/common/mk/cuda.mk | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
