summaryrefslogtreecommitdiff
path: root/benchmarks/CUDA/CP/common/mk/cuda.mk
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/CUDA/CP/common/mk/cuda.mk')
-rw-r--r--benchmarks/CUDA/CP/common/mk/cuda.mk17
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