From 0cb76063ce079a0606598e145da351f134235ab5 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Wed, 18 Apr 2012 16:33:33 -0800 Subject: This changelist implements the following: 1. Adds support for using cuobjdump for both ptx and ptxplus execution. This has been tested with CUDA 4.0 . Ptxplus is no longer supported through decuda/decuda_to_ptxplus 2. Adds support for converting the SASS output by cuobjdump to ptxplus. This has been tested with CUDA 4.0 . The old path that extracts ptx from cubin files is still preserved 3. Adds a bank group model. (WARNING: memory config has changed, please adapt yours). To disable the bank groups model, set nbkgrp to 1 and tCCDL and tRTPL to 0 Diff the configuration files to learn about how to use those new options. Merging //depot/gpgpu_sim_research/fermi-test/distribution/... to //depot/gpgpu_sim_research/fermi/distribution/... [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12023] --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 52fb93f..a146436 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,9 @@ $(SIM_LIB_DIR)/libcudart.so: $(LIBS) cudalib $(SIM_OBJ_FILES_DIR)/cuda-sim/decuda_pred_table/*.o \ $(SIM_OBJ_FILES_DIR)/gpgpu-sim/*.o \ $(SIM_OBJ_FILES_DIR)/intersim/*.o \ - $(SIM_OBJ_FILES_DIR)/*.o -lm -lz -lGL -pthread \ + $(SIM_OBJ_FILES_DIR)/*.o -lm -lz -lGL -pthread \ + $(GPGPUSIM_ROOT)/cuobjdump_to_ptxplus/cuobjdump_parser.o \ + $(GPGPUSIM_ROOT)/cuobjdump_to_ptxplus/cuobjdump_lexer.o \ -o $(SIM_LIB_DIR)/libcudart.so if [ ! -f $(SIM_LIB_DIR)/libcudart.so.2 ]; then ln -s libcudart.so $(SIM_LIB_DIR)/libcudart.so.2; fi if [ ! -f $(SIM_LIB_DIR)/libcudart.so.3 ]; then ln -s libcudart.so $(SIM_LIB_DIR)/libcudart.so.3; fi @@ -89,6 +91,8 @@ $(SIM_LIB_DIR)/libcudart.dylib: $(LIBS) cudalib $(SIM_OBJ_FILES_DIR)/gpgpu-sim/*.o \ $(SIM_OBJ_FILES_DIR)/intersim/*.o \ $(SIM_OBJ_FILES_DIR)/*.o -lm -lz -pthread \ + $(GPGPUSIM_ROOT)/cuobjdump_to_ptxplus/cuobjdump_parser.o \ + $(GPGPUSIM_ROOT)/cuobjdump_to_ptxplus/cuobjdump_lexer.o \ -o $(SIM_LIB_DIR)/libcudart.dylib $(SIM_LIB_DIR)/libOpenCL.so: $(LIBS) opencllib @@ -106,6 +110,7 @@ $(SIM_LIB_DIR)/libOpenCL.so: $(LIBS) opencllib cudalib: cuda-sim $(MAKE) -C ./libcuda/ depend $(MAKE) -C ./libcuda/ + $(MAKE) -C cuobjdump_to_ptxplus/ cuda-sim: $(MAKE) -C ./src/cuda-sim/ depend @@ -165,5 +170,6 @@ endif $(MAKE) clean -C ./src/gpgpu-sim/ $(MAKE) clean -C ./src/ $(MAKE) clean -C ./decuda_to_ptxplus/ + $(MAKE) clean -C ./cuobjdump_to_ptxplus/ rm -rf $(SIM_LIB_DIR) rm -rf $(SIM_OBJ_FILES_DIR) -- cgit v1.3