summaryrefslogtreecommitdiff
path: root/benchmarks/CUDA/DG/Makefiles/MakefileGPU3d
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
committerTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
commit11b308e7363e937966b035b4891db32b4eece3bf (patch)
tree50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/CUDA/DG/Makefiles/MakefileGPU3d
parentbb820c116764d7a1b8e071137d32b74e7f34dd2f (diff)
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
Diffstat (limited to 'benchmarks/CUDA/DG/Makefiles/MakefileGPU3d')
-rw-r--r--benchmarks/CUDA/DG/Makefiles/MakefileGPU3d54
1 files changed, 0 insertions, 54 deletions
diff --git a/benchmarks/CUDA/DG/Makefiles/MakefileGPU3d b/benchmarks/CUDA/DG/Makefiles/MakefileGPU3d
deleted file mode 100644
index 1af50c2..0000000
--- a/benchmarks/CUDA/DG/Makefiles/MakefileGPU3d
+++ /dev/null
@@ -1,54 +0,0 @@
-# define variables
-VPATH = ./
-HDRDIR = ./include
-LIBDIR = ./lib
-# adjust this for your system
-CUDADIR=/usr/local/cuda/
-
-# set options for this machine
-# specify which compilers to use for c, fortran and linking
-CC = mpicc
-LD = mpicc
-NVCC = nvcc
-
-# compiler flags to be used (set to compile with debugging on)
-CFLAGS = -Dp_N=$(N) -DNDG3d -DCUDA -I/opt/local/include -I/usr/include/malloc -I$(HDRDIR) -O3 -I$(CUDADIR)/include
-
-# link flags to be used
-LDFLAGS = -I$(HDRDIR) -L. -L./$(LIBDIR) -O3 -L$(CUDADIR)/lib
-
-# libraries to be linked in
-LIBS = -lparmetis -lmetis -lm -lcuda -lcudart
-
-# types of files we are going to construct rules for
-.SUFFIXES: .c .f .cu
-
-# rule for .c files
-.c.o:
- $(CC) $(CFLAGS) -o $*.o -c $*.c
-.cu.o:
- $(NVCC) -o $*.o -c $*.cu --compiler-options -O3 --use_fast_math $(CFLAGS)
-
-# list of objects to be compiled
-OBJS = \
- src/Mesh3d.o\
- src/Utils.o\
- src/LoadBalance3d.o\
- src/FacePair3d.o\
- src/ParallelPairs.o\
- src/BuildMaps3d.o\
- src/StartUp3d.o\
- src/MaxwellsRun3d.o\
- src/MaxwellsMPI3d.o\
- src/MaxwellsKernel3d.o\
- src/MaxwellsDriver3d.o
-
-MaxwellsGPU3d:$(OBJS)
- $(LD) $(LDFLAGS) -o MaxwellsGPU3d $(OBJS) $(LIBS)
- rm -r $(OBJS)
-
-# what to do if user types "make clean"
-clean :
- rm -r $(OBJS)
-
-